base: enable system.autoUpgrade
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user