|
@@ -50,7 +50,6 @@
|
|
|
hardware.pulseaudio.enable = true;
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest; # Nix defaults to LTS kernel
|
|
|
|
|
|
-
|
|
|
# Packages
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
python3
|
|
@@ -72,6 +71,13 @@
|
|
|
{% endfor %}
|
|
|
];
|
|
|
|
|
|
+ # NixOS Auto Upgrades and Cleanup
|
|
|
+ nix.gc.automatic = true;
|
|
|
+ nix.gc.dates = "monthly";
|
|
|
+ system.autoUpgrade.enable = true;
|
|
|
+ system.autoUpgrade.allowReboot = true;
|
|
|
+ system.autoUpgrade.dates = "weekly";
|
|
|
+
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
# settings for stateful data, like file locations and database versions
|