modules: system: nix: use structural 'settings'

Instead of a stringly-typed `extraOptions`.
This commit is contained in:
Bruno BELANYI 2022-02-08 14:32:00 +01:00
parent 7e8936fc55
commit 39431c2656

View file

@ -17,9 +17,9 @@ in
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
}