Add nix flakes to odin
This commit is contained in:
parent
6e3edf1484
commit
8903024bec
1 changed files with 6 additions and 1 deletions
|
|
@ -227,7 +227,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix.gc.automatic = true;
|
nix = {
|
||||||
|
package = pkgs.nixFlakes;
|
||||||
|
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
|
||||||
|
"experimental-features = nix-command flakes";
|
||||||
|
gc.automatic = true;
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue