move things from common to thinkpad that didnt belong on nas
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sijmen 2022-08-07 23:04:35 +02:00
parent 0a24fd671f
commit eed4ed3d4d
4 changed files with 58 additions and 68 deletions

View File

@ -6,26 +6,8 @@
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
boot = {
loader.timeout = 0;
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
"quiet"
"splash"
"vga=current"
"udev.log_level=3"
];
initrd.verbose = false;
consoleLogLevel = 0;
plymouth.enable = true;
};
console = { console = {
earlySetup = true; earlySetup = true;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz"; font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
@ -38,7 +20,6 @@
docker.enable = true; docker.enable = true;
}; };
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "en_US.UTF-8";
supportedLocales = [ supportedLocales = [
@ -53,43 +34,12 @@
description = "Sijmen"; description = "Sijmen";
}; };
environment = {
gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
]) ++ (with pkgs.gnome; [
gnome-calendar
gnome-music
epiphany # web browser
geary # email reader
totem # video player
tali # poker game
iagno # go game
hitori # sudoku game
atomix # puzzle game
]);
systemPackages = with pkgs; [
gnome.adwaita-icon-theme
ifuse
libimobiledevice
libheif
];
};
services = { services = {
pipewire.enable = true; pipewire.enable = true;
printing.enable = true; printing.enable = true;
throttled.enable = true;
gvfs.enable = true; gvfs.enable = true;
usbmuxd.enable = true; usbmuxd.enable = true;
xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
openssh = { openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
@ -99,14 +49,6 @@
enable = true; enable = true;
user = "sijmen"; user = "sijmen";
dataDir = config.users.users.sijmen.home; dataDir = config.users.users.sijmen.home;
overrideFolders = true;
folders = {
"vhuse-qjbcl" = {
path = "${config.users.users.sijmen.home}/Sync";
devices = [ "nas" "desktop-fedora" ];
};
};
}; };
}; };
@ -116,11 +58,4 @@
noto-fonts-emoji noto-fonts-emoji
nerdfonts nerdfonts
]; ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
} }

View File

@ -168,7 +168,5 @@
notmuch.enable = true; notmuch.enable = true;
}; };
imports = [ ./dconf.nix ];
}; };
} }

View File

@ -6,7 +6,12 @@
../common/configuration.nix ../common/configuration.nix
]; ];
hardware.bluetooth.enable = true; sound.enable = true;
hardware = {
bluetooth.enable = true;
pulseaudio.enable = true;
}
boot = { boot = {
loader = { loader = {
@ -18,6 +23,7 @@
}; };
}; };
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ kernelParams = [
"quiet" "quiet"
"splash" "splash"
@ -26,7 +32,10 @@
"udev.log_level=3" "udev.log_level=3"
]; ];
loader.timeout = 0;
initrd.verbose = false; initrd.verbose = false;
consoleLogLevel = 0;
plymouth.enable = true;
}; };
networking = { networking = {
@ -48,15 +57,63 @@
}; };
services = { services = {
throttled.enable = true;
xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
syncthing = { syncthing = {
overrideDevices = true; overrideDevices = true;
overrideFolders = true;
devices = { devices = {
nas.id = "5XADATO-6ZKNZFK-YIX2TU3-RTUOAXR-OMWOAH6-OIUB7LE-TWM5B3C-W2I2FQU"; nas.id = "5XADATO-6ZKNZFK-YIX2TU3-RTUOAXR-OMWOAH6-OIUB7LE-TWM5B3C-W2I2FQU";
desktop-fedora.id = "RE3BCEP-2FVDNPA-C72KDCX-5NRTLD4-DEJZAIX-PJAMJAN-LJDFHOY-WOXNPQW"; desktop-fedora.id = "RE3BCEP-2FVDNPA-C72KDCX-5NRTLD4-DEJZAIX-PJAMJAN-LJDFHOY-WOXNPQW";
}; };
folders = {
"vhuse-qjbcl" = {
path = "${config.users.users.sijmen.home}/Sync";
devices = [ "nas" "desktop-fedora" ];
};
};
}; };
}; };
environment = {
gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
]) ++ (with pkgs.gnome; [
gnome-calendar
gnome-music
epiphany # web browser
geary # email reader
totem # video player
tali # poker game
iagno # go game
hitori # sudoku game
atomix # puzzle game
]);
systemPackages = with pkgs; [
gnome.adwaita-icon-theme
ifuse
libimobiledevice
libheif
];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
home-manager.users.sijmen.imports = [ ./dconf.nix ];
system.stateVersion = "22.05"; system.stateVersion = "22.05";
} }