container friendly passing of current system

This commit is contained in:
zuckerberg 2021-09-24 14:12:59 -04:00
parent f4a92f7d5d
commit 482afd7ffd
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ in {
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
options.inputs = lib.mkOption { default = config.inputs; };
options.currentSystem = lib.mkOption { default = currentSystem; };
options.currentSystem = lib.mkOption { default = config.currentSystem; };
config = {
pia.enable = true;

View File

@ -52,7 +52,7 @@
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
options.inputs = lib.mkOption { default = config.inputs; };
options.currentSystem = lib.mkOption { default = currentSystem; };
options.currentSystem = lib.mkOption { default = config.currentSystem; };
config = {
pia.enable = true;