fix(nix-edit): enable experimental features

nixos
Moritz Böhme 2023-06-11 10:25:45 +02:00
parent 9a920427a9
commit 29cfce1111
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ in
config.nix = { config.nix = {
package = pkgs.nix-super; package = pkgs.nix-super;
extraOptions = "experimental-features = nix-command flakes";
gc = { gc = {
automatic = cfg.gc.enable; automatic = cfg.gc.enable;
options = "--max-freed ${cfg.gc.minimumFreedGB} --delete-older-than 14d"; options = "--max-freed ${cfg.gc.minimumFreedGB} --delete-older-than 14d";