Disable autoUpgrade for regular machines, keep for server only
This commit is contained in:
parent
f35fe50280
commit
385d77975a
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
{config, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../services/caddy.nix
|
../services/caddy.nix
|
||||||
../services/forgejo.nix
|
../services/forgejo.nix
|
||||||
|
@ -16,6 +16,8 @@
|
||||||
};
|
};
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||||
dates = "02:00";
|
dates = "02:00";
|
||||||
allowReboot = true;
|
allowReboot = true;
|
||||||
rebootWindow = {
|
rebootWindow = {
|
||||||
|
|
|
@ -30,14 +30,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
system = {
|
system.stateVersion = "23.05";
|
||||||
autoUpgrade = {
|
|
||||||
enable = true;
|
|
||||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
|
||||||
allowReboot = lib.mkDefault false;
|
|
||||||
};
|
|
||||||
stateVersion = "23.05";
|
|
||||||
};
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
Loading…
Reference in a new issue