container friendly passing of current system
This commit is contained in:
parent
f4a92f7d5d
commit
482afd7ffd
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user