diff --git a/options/copySysConf.nix b/options/copySysConf.nix index fd5ec27..c78cfe7 100644 --- a/options/copySysConf.nix +++ b/options/copySysConf.nix @@ -33,6 +33,9 @@ in { }; config = mkIf cfg.enable { + environment.variables = { + NIXOS_CONFIG_PATH = "${copySysConf}"; + }; nix = mkIf cfg.addToNixPath { # Do not use lib.optionals as it would override the default nixPath nixPath = [