mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 16:24:08 +02:00
19 lines
402 B
Nix
19 lines
402 B
Nix
{ hostName, ... }:
|
|
{
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
dates = "04:00";
|
|
persistent = true;
|
|
flake = "github:Moe1369/nixos-config#${hostName}";
|
|
flags = [
|
|
"--update-input" "nixpkgs"
|
|
"--update-input" "home-manager"
|
|
"--update-input" "jovian"
|
|
"--update-input" "nix-flatpak"
|
|
"-L"
|
|
"--commit-lock-file"
|
|
];
|
|
allowReboot = true;
|
|
};
|
|
}
|