mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
Aly Raffauf
29bc4af56e
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* initial committ * move plymouth and printing to desktop modules * rename commonModules -> common * rename commonModules -> common * move nix settings base -> common/nix * nix fmt * move baseModules to common/base
24 lines
447 B
Nix
24 lines
447 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
environment.variables.FLAKE = lib.mkDefault "github:alyraffauf/nixcfg";
|
|
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
allowReboot = false;
|
|
dates = "02:00";
|
|
flags = ["--accept-flake-config"];
|
|
flake = config.environment.variables.FLAKE;
|
|
operation = "switch";
|
|
persistent = true;
|
|
randomizedDelaySec = "30min";
|
|
|
|
rebootWindow = {
|
|
lower = "02:00";
|
|
upper = "06:00";
|
|
};
|
|
};
|
|
}
|