Compare commits
No commits in common. "d414ff36cee182d8abaf0fb3fbc3c2e20d48fc32" and "3f40905886dff989f0c614d333e57080e065bf32" have entirely different histories.
d414ff36ce
...
3f40905886
4 changed files with 6 additions and 7 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 14d";
|
options = "--delete-older-than 28d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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 +14); do
|
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +30); do
|
||||||
delete_subvolume_recursively "$i"
|
delete_subvolume_recursively "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
"/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 = {
|
||||||
# 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.
|
# 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"];
|
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||||
|
# List of modules that are always loaded by the initrd.
|
||||||
|
kernelModules = ["kvm-amd" "amdgpu"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Linux kernel used by NixOS.
|
# Linux kernel used by NixOS.
|
||||||
kernelPackages = pkgs.linuxPackages;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
# 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 = 14;
|
configurationLimit = 20;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue