2024-08-24 11:13:25 +02:00
|
|
|
{ hostName, ... }:
|
2024-08-13 19:56:30 +02:00
|
|
|
{
|
2024-08-30 22:12:46 +02:00
|
|
|
nix.optimise.automatic = true;
|
|
|
|
nix.settings.auto-optimise-store = true;
|
2024-08-30 22:13:24 +02:00
|
|
|
nix.optimise.dates = [ "03:45" ];
|
2024-08-13 19:56:30 +02:00
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
dates = "04:00";
|
2024-08-30 22:04:02 +02:00
|
|
|
persistent = true;
|
2024-08-24 11:13:25 +02:00
|
|
|
flake = "github:Moe1369/nixos-config#${hostName}";
|
2024-08-13 19:56:30 +02:00
|
|
|
flags = [
|
2024-08-30 22:04:02 +02:00
|
|
|
"--update-input" "nixpkgs"
|
|
|
|
"--update-input" "home-manager"
|
|
|
|
"--update-input" "jovian"
|
|
|
|
"--update-input" "nix-flatpak"
|
|
|
|
"-L"
|
|
|
|
"--commit-lock-file"
|
2024-08-13 19:56:30 +02:00
|
|
|
];
|
|
|
|
allowReboot = true;
|
|
|
|
};
|
|
|
|
}
|