From 419b3ef380dc122b8be4868fe8d316c530770371 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 14 Oct 2024 23:59:28 -0400 Subject: [PATCH] common: move $FLAKE definition from autoUpgrade to base --- common/autoUpgrade.nix | 8 +------- common/base.nix | 1 + 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/common/autoUpgrade.nix b/common/autoUpgrade.nix index 90fa4e88..a3b7264a 100644 --- a/common/autoUpgrade.nix +++ b/common/autoUpgrade.nix @@ -1,10 +1,4 @@ -{ - config, - lib, - ... -}: { - environment.variables.FLAKE = lib.mkDefault "github:alyraffauf/nixcfg"; - +{config, ...}: { system.autoUpgrade = { enable = true; allowReboot = true; diff --git a/common/base.nix b/common/base.nix index 02e9131b..d8f2ae85 100644 --- a/common/base.nix +++ b/common/base.nix @@ -2,6 +2,7 @@ boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10; console.useXkbConfig = true; hardware.keyboard.qmk.enable = true; + environment.variables.FLAKE = lib.mkDefault "github:alyraffauf/nixcfg"; programs = { dconf.enable = true; # Needed for home-manager