container friendly passing of current system
This commit is contained in:
@@ -150,7 +150,7 @@ in {
|
|||||||
|
|
||||||
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
|
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
|
||||||
options.inputs = lib.mkOption { default = config.inputs; };
|
options.inputs = lib.mkOption { default = config.inputs; };
|
||||||
options.currentSystem = lib.mkOption { default = currentSystem; };
|
options.currentSystem = lib.mkOption { default = config.currentSystem; };
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
pia.enable = true;
|
pia.enable = true;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
|
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
|
||||||
options.inputs = lib.mkOption { default = config.inputs; };
|
options.inputs = lib.mkOption { default = config.inputs; };
|
||||||
options.currentSystem = lib.mkOption { default = currentSystem; };
|
options.currentSystem = lib.mkOption { default = config.currentSystem; };
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
pia.enable = true;
|
pia.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user