Exclude .git and vm disk images in deployment
Fixes #8 (at least good enough for now)
This commit is contained in:
parent
c63305cb6b
commit
0563b14c68
14
deploy.nix
14
deploy.nix
|
@ -19,7 +19,19 @@ let
|
||||||
url = https://github.com/NixOS/nixpkgs;
|
url = https://github.com/NixOS/nixpkgs;
|
||||||
shallow = true;
|
shallow = true;
|
||||||
};
|
};
|
||||||
config.file = toString ./.;
|
config.file = {
|
||||||
|
path = toString ./.;
|
||||||
|
filters = [
|
||||||
|
{
|
||||||
|
type = "exclude";
|
||||||
|
pattern = ".git";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "exclude";
|
||||||
|
pattern = "*.qcow2";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
nixos-config.symlink = "config/machines/${hostname}/configuration.nix";
|
nixos-config.symlink = "config/machines/${hostname}/configuration.nix";
|
||||||
secrets.pass = {
|
secrets.pass = {
|
||||||
dir = toString ~/.password-store;
|
dir = toString ~/.password-store;
|
||||||
|
|
Loading…
Reference in a new issue