refactor: simplify host config

This commit is contained in:
2026-04-05 16:01:08 +02:00
parent 2929a10d62
commit 0b79904103
8 changed files with 34 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ in
../../modules/firewall
../../modules/fonts
../../modules/gaming
(import ../../modules/networking { hostName = config.host.name; })
../../modules/networking
../../modules/keyboard
../../modules/localization
../../modules/nvidia

View File

@@ -27,7 +27,7 @@ in
../../modules/backups
../../modules/bluetooth
../../modules/keyboard
(import ../../modules/networking { hostName = config.host.name; })
../../modules/networking
../../modules/users
../../modules/localization
../../modules/fonts

View File

@@ -14,7 +14,7 @@
../../modules/common
../../modules/boot/bootloader.nix
../../modules/keyboard
(import ../../modules/networking { hostName = config.host.name; })
../../modules/networking
../../modules/users
../../modules/audio
../../modules/localization
@@ -32,7 +32,6 @@
inherit inputs config pkgs;
};
networking.hostName = config.host.name;
ssh.username = config.host.username;
secrets.username = config.host.username;