mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
modules/nixos/tf-glue: Cleanup
This commit is contained in:
parent
19ba7b13c0
commit
0cb44bd1b0
1 changed files with 3 additions and 3 deletions
|
|
@ -27,15 +27,15 @@ in {
|
||||||
out.set = removeAttrs cfg cfg.attrs;
|
out.set = removeAttrs cfg cfg.attrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy.tf.deploy.systems."${config.networking.hostName}" =
|
deploy.tf.deploy.systems.${config.networking.hostName} =
|
||||||
with tf.resources; {
|
with tf.resources; {
|
||||||
isRemote =
|
isRemote =
|
||||||
(config.networking.hostName != builtins.getEnv "HOME_HOSTNAME");
|
(config.networking.hostName != builtins.getEnv "HOME_HOSTNAME");
|
||||||
nixosConfig = config;
|
nixosConfig = config;
|
||||||
connection = tf.resources.${config.networking.hostName}.connection.set;
|
connection = tf.resources.${config.networking.hostName}.connection.set;
|
||||||
triggers.copy."${config.networking.hostName}" =
|
triggers.copy.${config.networking.hostName} =
|
||||||
tf.resources.${config.networking.hostName}.refAttr "id";
|
tf.resources.${config.networking.hostName}.refAttr "id";
|
||||||
triggers.secrets."${config.networking.hostName}" =
|
triggers.secrets.${config.networking.hostName} =
|
||||||
tf.resources.${config.networking.hostName}.refAttr "id";
|
tf.resources.${config.networking.hostName}.refAttr "id";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue