config/systems/desktop/nix.nix

16 lines
274 B
Nix
Raw Permalink Normal View History

2024-09-15 12:56:25 +01:00
{ pkgs, ... }:
{
nix = {
package = pkgs.nixVersions.stable;
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
}