diff --git a/nixos/common/global/nix.nix b/nixos/common/global/nix.nix index af81859..11fcca0 100644 --- a/nixos/common/global/nix.nix +++ b/nixos/common/global/nix.nix @@ -9,7 +9,7 @@ # Automatically run the garbage collector an a specified time. automatic = true; dates = "weekly"; - options = "--delete-older-than 14d"; + options = "--delete-older-than 28d"; }; # This will add each flake input as a registry diff --git a/nixos/common/optional/ephemeral-btrfs.nix b/nixos/common/optional/ephemeral-btrfs.nix index b7749d8..e6e84cb 100644 --- a/nixos/common/optional/ephemeral-btrfs.nix +++ b/nixos/common/optional/ephemeral-btrfs.nix @@ -26,7 +26,7 @@ in { 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" done diff --git a/nixos/common/optional/persist.nix b/nixos/common/optional/persist.nix index ebb1b50..bd218b5 100644 --- a/nixos/common/optional/persist.nix +++ b/nixos/common/optional/persist.nix @@ -12,7 +12,6 @@ "/var/lib/docker" "/var/lib/flatpak" "/var/lib/nixos" - "/var/lib/private" "/var/lib/systemd/coredump" "/etc/NetworkManager/system-connections" ]; diff --git a/nixos/fuchsia/hardware-configuration.nix b/nixos/fuchsia/hardware-configuration.nix index 1d11aae..49773dd 100644 --- a/nixos/fuchsia/hardware-configuration.nix +++ b/nixos/fuchsia/hardware-configuration.nix @@ -13,14 +13,14 @@ boot = { # Initial ramdisk 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. 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. - kernelPackages = pkgs.linuxPackages; + kernelPackages = pkgs.linuxPackages_latest; # 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 = 14; + configurationLimit = 20; }; }; };