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