From c5a39a40e93e3afce386d89e33e2a35d01bd1f00 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 8 Jul 2025 10:01:56 -0400 Subject: move nixpkgs settings inside base module --- modules/options.nix | 3 +++ system/default.nix | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/options.nix b/modules/options.nix index 1b120be..bfc61e3 100644 --- a/modules/options.nix +++ b/modules/options.nix @@ -389,6 +389,9 @@ in { }; config = { + # allow flakes + nix.settings.experimental-features = ["nix-command" "flakes"]; + # use system packages in home manager home-manager.useGlobalPkgs = true; diff --git a/system/default.nix b/system/default.nix index a630717..3cf065c 100644 --- a/system/default.nix +++ b/system/default.nix @@ -14,12 +14,6 @@ ./sshd.nix ]; - # allow flakes - nix.settings.experimental-features = ["nix-command" "flakes"]; - - # allow unfree packages - nixpkgs.config.allowUnfree = true; - # hostname networking.hostName = config.hostName; -- cgit v1.2.3-freya