diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-08-30 12:55:23 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-08-30 12:55:23 -0500 |
commit | d3643a962b42440f706c9171a2644c41fcd2be8e (patch) | |
tree | 7dc276763b5cfcd9510b26dfa63f242110305887 /hosts/flex-wg-router/configuration.nix | |
parent | 9da942ba47d34210e86a1a709e802eda5c3b95db (diff) | |
download | nixos-d3643a962b42440f706c9171a2644c41fcd2be8e.tar.xz nixos-d3643a962b42440f706c9171a2644c41fcd2be8e.zip |
only allow specified unfree software on hosts that use unfree and update all active hosts to work with new config
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"; } |