added auto-upgrade option
This commit is contained in:
parent
70baf3a9e7
commit
3acdda2835
3 changed files with 10 additions and 8 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue