base: enable system.autoUpgrade

This commit is contained in:
2026-08-01 20:20:29 +02:00
parent ae873f5a5f
commit 6b2a3be7a4
5 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,6 +1,10 @@
{ config, lib, pkgs, inputs, values, ... }: { config, lib, pkgs, inputs, values, ... }:
{ {
imports = [
./common/auto-upgrade.nix
];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
+1 -1
View File
@@ -2,7 +2,7 @@
{ {
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = lib.mkDefault true;
flake = "git+https://git.feal.no/felixalb/nixos-config.git"; flake = "git+https://git.feal.no/felixalb/nixos-config.git";
flags = [ flags = [
# Override nixpkgs (only). Notably does not include home-manager, sops or other utility/application flake inputs. # Override nixpkgs (only). Notably does not include home-manager, sops or other utility/application flake inputs.
+2
View File
@@ -13,6 +13,8 @@
./desktop.nix ./desktop.nix
]; ];
system.autoUpgrade = false;
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
wireguard.enable = true; wireguard.enable = true;
-1
View File
@@ -5,7 +5,6 @@
[ [
../../base.nix ../../base.nix
../../common/metrics-exporters.nix ../../common/metrics-exporters.nix
../../common/auto-upgrade.nix
./hardware-configuration.nix ./hardware-configuration.nix
./backup.nix ./backup.nix
-1
View File
@@ -5,7 +5,6 @@
[ [
../../base.nix ../../base.nix
../../common/metrics-exporters.nix ../../common/metrics-exporters.nix
../../common/auto-upgrade.nix
./hardware-configuration.nix ./hardware-configuration.nix
./services/nginx.nix ./services/nginx.nix