nix/nixos/common/modules/nixos.nix

18 lines
329 B
Nix
Raw Normal View History

2023-08-23 14:30:15 +09:00
{ ... }: {
2024-04-17 11:25:49 +09:00
nix = {
settings = {
2024-04-25 15:53:37 +09:00
auto-optimise-store = true;
2024-04-17 11:25:49 +09:00
experimental-features = [ "nix-command" "flakes" ];
};
optimise = {
automatic = true;
dates = [ "daily" ];
};
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 30d";
};
};
2024-02-21 11:00:07 +09:00
}