simplify autoUpgrade

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-06 16:07:40 +01:00
parent 930e30a926
commit f12a67b12d
5 changed files with 16 additions and 25 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, host, ... }:
{ pkgs, lib, config, ... }:
with lib;
with lib.plusultra;
{
@ -18,13 +18,6 @@ with lib.plusultra;
enable = true;
operation = "boot";
allowReboot = true;
flags = [
"--update-input"
"nixpkgs"
"--update-input"
"unstable"
];
flake = "git+https://git.hoyer.xyz/harald/nixcfg#${host}";
};
networking.hostName = "sgx-nixos"; # Define your hostname.