nix: fix incorrect for nix.settings.experimental-features

else with latest nixos-unstable I get this error:
A definition for option `nix.settings.experimental-features' is not of type `list of string'.
This commit is contained in:
electria 2026-09-11 17:35:10 -07:00
commit 67ce35d66d
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -16,7 +16,11 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# enable useful nix tools, and the flakes system # enable useful nix tools, and the flakes system
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = [
"nix-command"
"flakes"
];
# you (should) never need this # you (should) never need this
nix.channel.enable = false; nix.channel.enable = false;