simplify autoUpgrade
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
930e30a926
commit
f12a67b12d
5 changed files with 16 additions and 25 deletions
|
@ -7,6 +7,7 @@ in
|
|||
{
|
||||
options.plusultra.base = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable the base config.";
|
||||
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -114,5 +115,16 @@ in
|
|||
initrd.systemd.enable = true;
|
||||
kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--update-input"
|
||||
"unstable"
|
||||
];
|
||||
flake = "git+https://git.hoyer.xyz/harald/nixcfg";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue