From fcd428ba73f1d2180d443083db346f7c1130f8f8 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 22 Jul 2025 20:58:46 -0400 Subject: refactor config out of modules/options.nix --- system/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'system') diff --git a/system/default.nix b/system/default.nix index f12cf70..2d043c7 100644 --- a/system/default.nix +++ b/system/default.nix @@ -14,6 +14,18 @@ ./sshd.nix ]; + # allow flakes + nix.settings.experimental-features = ["nix-command" "flakes"]; + + # allow unfree packages + nixpkgs.config.allowUnfree = true; + + # set state version + system.stateVersion = config.stateVersion; + + # enable nixos-rebuild-ng + system.rebuild.enableNg = true; + # hostname networking.hostName = config.hostName; -- cgit v1.2.3-freya