deploy: Only send the wanted machine configuration
This avoids having secrets that are managed with git-crypt on every system.
This commit is contained in:
parent
1bf141ce03
commit
8037f5eb5e
|
@ -34,6 +34,14 @@ let
|
||||||
type = "exclude";
|
type = "exclude";
|
||||||
pattern = "*.qcow2";
|
pattern = "*.qcow2";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
type = "include";
|
||||||
|
pattern = "/machines/${hostname}/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "exclude";
|
||||||
|
pattern = "/machines/*/";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixos-config.symlink = "config/machines/${hostname}/configuration.nix";
|
nixos-config.symlink = "config/machines/${hostname}/configuration.nix";
|
||||||
|
|
Loading…
Reference in a new issue