project-wide: nixdirfmt

This commit is contained in:
kat witch 2021-04-28 22:36:36 +01:00
parent ed5eb10d0e
commit 19ba7b13c0
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
6 changed files with 78 additions and 69 deletions

View file

@ -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) {