NixFiles/systems/pogmachine/nix.nix

17 lines
316 B
Nix
Raw Normal View History

2023-04-09 12:56:40 +01:00
{ config, pkgs, ... }:
{
# Enable flakes and nix-command
nix = {
package = pkgs.nixVersions.stable;
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
}