From d3643a962b42440f706c9171a2644c41fcd2be8e Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 30 Aug 2025 12:55:23 -0500 Subject: only allow specified unfree software on hosts that use unfree and update all active hosts to work with new config --- hosts/flex-wg-router/configuration.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'hosts/flex-wg-router/configuration.nix') 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"; } -- cgit v1.2.3