Compare commits
3 commits
3f40905886
...
d414ff36ce
| Author | SHA1 | Date | |
|---|---|---|---|
| d414ff36ce | |||
| dc87a6ebe0 | |||
| 1b857236ee |
4 changed files with 7 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
|||
# Automatically run the garbage collector an a specified time.
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 28d";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
|
||||
# This will add each flake input as a registry
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ in {
|
|||
btrfs subvolume delete "$1"
|
||||
}
|
||||
|
||||
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +30); do
|
||||
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +14); do
|
||||
delete_subvolume_recursively "$i"
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"/var/lib/docker"
|
||||
"/var/lib/flatpak"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/private"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@
|
|||
boot = {
|
||||
# Initial ramdisk
|
||||
initrd = {
|
||||
# The modules listed here are available in the initrd, but are only loaded on demand.
|
||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||
# List of modules that are always loaded by the initrd.
|
||||
kernelModules = ["kvm-amd" "amdgpu"];
|
||||
# The modules listed here are available in the initrd, but are only loaded on demand.
|
||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||
};
|
||||
|
||||
# Linux kernel used by NixOS.
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages;
|
||||
# Parameters added to the kernel command line.
|
||||
kernelParams = [
|
||||
# Enable amdgpu driver sysfs API that allows fine grain control of GPU
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
};
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 20;
|
||||
configurationLimit = 14;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue