mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
project-wide: nixdirfmt
This commit is contained in:
parent
ed5eb10d0e
commit
19ba7b13c0
6 changed files with 78 additions and 69 deletions
|
|
@ -27,13 +27,17 @@ in {
|
|||
out.set = removeAttrs cfg cfg.attrs;
|
||||
};
|
||||
|
||||
deploy.tf.deploy.systems."${config.networking.hostName}" = with tf.resources; {
|
||||
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";
|
||||
triggers.secrets."${config.networking.hostName}" = tf.resources.${config.networking.hostName}.refAttr "id";
|
||||
};
|
||||
deploy.tf.deploy.systems."${config.networking.hostName}" =
|
||||
with tf.resources; {
|
||||
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";
|
||||
triggers.secrets."${config.networking.hostName}" =
|
||||
tf.resources.${config.networking.hostName}.refAttr "id";
|
||||
};
|
||||
|
||||
deploy.tf.dns.records."kittywitch_net_${config.networking.hostName}" =
|
||||
mkIf (config.hexchen.network.enable) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue