diff options
Diffstat (limited to 'hosts/flex-wg-router/configuration.nix')
-rw-r--r-- | hosts/flex-wg-router/configuration.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/hosts/flex-wg-router/configuration.nix b/hosts/flex-wg-router/configuration.nix index f21046d..b09c3f0 100644 --- a/hosts/flex-wg-router/configuration.nix +++ b/hosts/flex-wg-router/configuration.nix @@ -1,17 +1,17 @@ { config, lib, pkgs, ... }: { - imports = [ - ./hardware-configuration.nix - ../../archetypes/headless - ]; - bootloader.mode = "efi"; + # Setup bootloader + boot._loader.enable = true; - # Enable docker - software.development = { - docker.enable = true; - }; - - # Enable set root password - users.setPassword.enable = true; + _archetypes = { + # Use headless profile + profiles.headless.enable = true; + # Install software + collections = { + development = { + docker.enable = true; + }; + }; + } system.stateVersion = "25.05"; } |