aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-02-05 21:54:10 +0100
committerLeander Scherer <leander@schererleander.de>2026-02-05 21:54:10 +0100
commit99fb53bf5dc9078e82761436e51bb30273850071 (patch)
treea00e010103f68dfa54749e1ed23a2858d882c05b
parentd2c7fb0bfe44fe37833e5c50329839d33e42c7b1 (diff)
feat(nix): allow experimental features flakes nix-command
-rw-r--r--modules/hosts/adam/configuration.nix2
-rw-r--r--modules/hosts/lilith/configuration.nix5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/hosts/adam/configuration.nix b/modules/hosts/adam/configuration.nix
index 53094f0..92c387f 100644
--- a/modules/hosts/adam/configuration.nix
+++ b/modules/hosts/adam/configuration.nix
@@ -49,6 +49,8 @@
];
};
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+
nixpkgs.config.allowUnfree = true;
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "25.11";
diff --git a/modules/hosts/lilith/configuration.nix b/modules/hosts/lilith/configuration.nix
index 46e8352..2c58bc1 100644
--- a/modules/hosts/lilith/configuration.nix
+++ b/modules/hosts/lilith/configuration.nix
@@ -57,7 +57,10 @@
onActivation.upgrade = true;
};
- nix.enable = false;
+ nix = {
+ enable = true;
+ settings.experimental-features = [ "nix-command" "flakes" ];
+ };
nixpkgs.config.allowUnfree = true;
system.stateVersion = 6;