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

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;
sound.enable = true;
hardware.pulseaudio.enable = true;
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 = {
earlySetup = true;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
@ -38,7 +20,6 @@
docker.enable = true;
};
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
@ -53,43 +34,12 @@
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 = {
pipewire.enable = true;
printing.enable = true;
throttled.enable = true;
gvfs.enable = true;
usbmuxd.enable = true;
xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
openssh = {
enable = true;
passwordAuthentication = false;
@ -99,14 +49,6 @@
enable = true;
user = "sijmen";
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
nerdfonts
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}

View file

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

View file

@ -6,7 +6,12 @@
../common/configuration.nix
];
hardware.bluetooth.enable = true;
sound.enable = true;
hardware = {
bluetooth.enable = true;
pulseaudio.enable = true;
}
boot = {
loader = {
@ -18,6 +23,7 @@
};
};
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
"quiet"
"splash"
@ -26,7 +32,10 @@
"udev.log_level=3"
];
loader.timeout = 0;
initrd.verbose = false;
consoleLogLevel = 0;
plymouth.enable = true;
};
networking = {
@ -48,15 +57,63 @@
};
services = {
throttled.enable = true;
xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
syncthing = {
overrideDevices = true;
overrideFolders = true;
devices = {
nas.id = "5XADATO-6ZKNZFK-YIX2TU3-RTUOAXR-OMWOAH6-OIUB7LE-TWM5B3C-W2I2FQU";
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";
}