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.
|
# Automatically run the garbage collector an a specified time.
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 28d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This will add each flake input as a registry
|
# This will add each flake input as a registry
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ in {
|
||||||
btrfs subvolume delete "$1"
|
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"
|
delete_subvolume_recursively "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/flatpak"
|
"/var/lib/flatpak"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
|
"/var/lib/private"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@
|
||||||
boot = {
|
boot = {
|
||||||
# Initial ramdisk
|
# Initial ramdisk
|
||||||
initrd = {
|
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.
|
# List of modules that are always loaded by the initrd.
|
||||||
kernelModules = ["kvm-amd" "amdgpu"];
|
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.
|
# Linux kernel used by NixOS.
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages;
|
||||||
# Parameters added to the kernel command line.
|
# Parameters added to the kernel command line.
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
# Enable amdgpu driver sysfs API that allows fine grain control of GPU
|
# Enable amdgpu driver sysfs API that allows fine grain control of GPU
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
};
|
};
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configurationLimit = 20;
|
configurationLimit = 14;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue