Enable daily auto-upgrade on strixi-minaj, railbird-sf, and ryzen-shine
Set the autoUpgrade flake reference globally in configuration.nix so machines only need to opt in with system.autoUpgrade.enable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -54,7 +54,11 @@
|
||||
features.full.enable = lib.mkEnableOption "Do everything";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.features.full.enable {
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
system.autoUpgrade.flake = "github:colonelpanic8/dotfiles?dir=nixos#${config.networking.hostName}";
|
||||
}
|
||||
(lib.mkIf config.features.full.enable {
|
||||
myModules.base.enable = true;
|
||||
myModules.desktop.enable = true;
|
||||
myModules.plasma.enable = true;
|
||||
@@ -66,5 +70,6 @@
|
||||
myModules.games.enable = false;
|
||||
myModules.syncthing.enable = true;
|
||||
myModules.fonts.enable = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@@ -90,5 +90,10 @@
|
||||
}
|
||||
];
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
@@ -82,6 +82,11 @@
|
||||
# services.xrdp.defaultWindowManager = "startplasma-x11";
|
||||
# services.xrdp.openFirewall = true;
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
};
|
||||
|
||||
system.stateVersion = "20.03";
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
|
||||
@@ -91,5 +91,10 @@
|
||||
}
|
||||
];
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user