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:
parent
d5d8dd60a8
commit
67ce35d66d
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue