mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:48:12 +09:00
gc
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
systemd-boot.configurationLimit = 8;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
./boot.nix
|
||||
./environment.nix
|
||||
./fonts.nix
|
||||
./gc.nix
|
||||
./hardware.nix
|
||||
./i18n.nix
|
||||
./network.nix
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{ ... }:
|
||||
{
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise.automatic = true;
|
||||
}
|
||||
Reference in New Issue
Block a user