summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/options.nix3
-rw-r--r--system/default.nix6
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;