Re-enable nix autoUpgrade for all systems
This commit is contained in:
parent
694d3ea7c2
commit
023d1ecc2b
14
flake.nix
14
flake.nix
|
@ -56,7 +56,9 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
flakeURL = "https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
||||
in {
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
@ -90,7 +92,7 @@
|
|||
};
|
||||
to = {
|
||||
type = "git";
|
||||
url = "https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
||||
url = flakeURL;
|
||||
};
|
||||
};
|
||||
pyenv = {
|
||||
|
@ -127,7 +129,13 @@
|
|||
'';
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system = {inherit stateVersion;};
|
||||
system = {
|
||||
inherit stateVersion;
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+${flakeURL}";
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
inherit hostName;
|
||||
firewall.enable = true;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{...}: {
|
||||
users.mutableUsers = false;
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
||||
dates = "02:30";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
|
|
Loading…
Reference in a new issue