deploy-rs upgrade sane defaults

This commit is contained in:
Jermeiah S 2025-06-19 16:24:33 -04:00
parent 4ecc6a4ae6
commit b9f35afd8b
No known key found for this signature in database
3 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,6 @@ in
"${modulesPath}/virtualisation/lxc-container.nix" "${modulesPath}/virtualisation/lxc-container.nix"
]; ];
deploy = { deploy = {
enable = true;
address = "200:b938:d405:92df:a6e:1ffd:5213:26b"; address = "200:b938:d405:92df:a6e:1ffd:5213:26b";
}; };
services = { services = {

View file

@ -15,7 +15,6 @@ in
"${modulesPath}/virtualisation/lxc-container.nix" "${modulesPath}/virtualisation/lxc-container.nix"
]; ];
deploy = { deploy = {
enable = true;
address = "200:1978:6503:e6f0:2dbe:11fd:74b:ff64"; address = "200:1978:6503:e6f0:2dbe:11fd:74b:ff64";
}; };
sops.secrets = { sops.secrets = {

View file

@ -1,7 +1,7 @@
{ lib, config, ... }: { lib, config, ... }:
{ {
options.deploy = { options.deploy = {
enable = lib.mkEnableOption "enable deployrs module"; enable = (lib.mkEnableOption // { default = true; }) "enable deployrs module";
address = lib.mkOption { address = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = config.networking.hostName; default = config.networking.hostName;