diff --git a/cerulean/snow/default.nix b/cerulean/snow/default.nix index 7cd0b18..b1ea663 100644 --- a/cerulean/snow/default.nix +++ b/cerulean/snow/default.nix @@ -130,7 +130,7 @@ in (node.deploy) ssh user - sudo + sudoCmd interactiveSudo remoteBuild rollback @@ -149,7 +149,7 @@ in path = nixosFor node.system nixosConfigurations.${name}; user = user; - sudo = sudo; + sudo = sudoCmd; interactiveSudo = interactiveSudo; fastConnection = false; diff --git a/cerulean/snow/nodes/submodule.nix b/cerulean/snow/nodes/submodule.nix index 340a395..ea30c4f 100644 --- a/cerulean/snow/nodes/submodule.nix +++ b/cerulean/snow/nodes/submodule.nix @@ -114,6 +114,15 @@ ''; }; + magicRollback = mkOption { + type = types.bool; + default = true; + example = true; + description = '' + TODO: im fucking lazy + ''; + }; + activationTimeout = mkOption { type = types.int; default = 500;