diff --git a/configuration.nix b/configuration.nix index 3feba2a..4384da3 100755 --- a/configuration.nix +++ b/configuration.nix @@ -26,13 +26,13 @@ "flakes" ]; }; - gc = { - # automatic = true; - # dates = "weekly"; - # options = "--delete-older-than 5d"; - # persistent = true; - }; }; + + system.autoUpgrade = { + enable = true; + channel = "https://nixos.org/channels/nixos-23.11"; + }; + # Bootloader. boot = { # loader = { diff --git a/hosts/proserpina/configuration.nix b/hosts/proserpina/configuration.nix index d86b5d1..3ffaf17 100644 --- a/hosts/proserpina/configuration.nix +++ b/hosts/proserpina/configuration.nix @@ -5,7 +5,7 @@ [ # Include the results of the hardware scan. "${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" - ./disko-config.nix + # /disko-config.nix ./hardware-configuration.nix ../../configuration.nix ]; diff --git a/hosts/proserpina/hardware-configuration.nix b/hosts/proserpina/hardware-configuration.nix index 47a61f8..947d0b6 100644 --- a/hosts/proserpina/hardware-configuration.nix +++ b/hosts/proserpina/hardware-configuration.nix @@ -5,7 +5,9 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") + ./disko-config.sh ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];