Add panacea to VPN and Syncthing
This commit is contained in:
parent
b2f3aa0c95
commit
5896c51c54
|
@ -17,43 +17,42 @@
|
||||||
devices = {
|
devices = {
|
||||||
monolith = { id = "64P2YDH-S5V7PKM-XXBOSXC-WEXUSC7-B553ELI-6IJ3CPJ-ZFB3YA5-MTKAFAH"; };
|
monolith = { id = "64P2YDH-S5V7PKM-XXBOSXC-WEXUSC7-B553ELI-6IJ3CPJ-ZFB3YA5-MTKAFAH"; };
|
||||||
roamer = { id = "7CDUG25-KGBOIA7-Y73TZGA-NEHYLZP-OEOEWVN-DMS5U7K-QNNMPKY-YNGEWQL"; };
|
roamer = { id = "7CDUG25-KGBOIA7-Y73TZGA-NEHYLZP-OEOEWVN-DMS5U7K-QNNMPKY-YNGEWQL"; };
|
||||||
unit = { id = "VYHHL4A-KJ6WUYQ-4SNWNA3-YRCFTHE-52ZTRLP-4LV6ZDV-4VAJLHC-RJXYYQY"; };
|
panacea = { id = "UNZIABR-GEQ4AWT-XKFADLW-HW3SQ3Y-BEYZ56A-W530DLS-DXGQWKK-2QQ4RQ6"; };
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
Documents = {
|
Documents = {
|
||||||
id = "wusdj-bfjkr";
|
id = "wusdj-bfjkr";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Documents";
|
path = "/vault/syncthing/Documents";
|
||||||
devices = [ "monolith" "roamer" "unit" ];
|
devices = [ "monolith" "roamer" "panacea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Notes = {
|
Notes = {
|
||||||
id = "kafhz-bfmzm";
|
id = "kafhz-bfmzm";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Notes";
|
path = "/vault/syncthing/Notes";
|
||||||
devices = [ "monolith" "roamer" "unit" ];
|
devices = [ "monolith" "roamer" "panacea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Music = {
|
Music = {
|
||||||
id = "2aqt7-vpprc";
|
id = "2aqt7-vpprc";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Music";
|
path = "/vault/syncthing/Music";
|
||||||
devices = [ "monolith" "roamer" "unit" ];
|
devices = [ "monolith" "roamer" "panacea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Photos = {
|
Photos = {
|
||||||
id = "mjibc-ustcg";
|
id = "mjibc-ustcg";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Photos";
|
path = "/vault/syncthing/Photos";
|
||||||
devices = [ "monolith" "roamer" "unit" ];
|
devices = [ "monolith" "roamer" "panacea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Projects = {
|
Projects = {
|
||||||
devices = [ "monolith" "unit" ];
|
|
||||||
id = "cjhmu-avy9v";
|
id = "cjhmu-avy9v";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Projects";
|
path = "/vault/syncthing/Projects";
|
||||||
watch = false;
|
devices = [ "monolith" "panacea" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/vault/backups" =
|
||||||
|
{ device = "vault/backups";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/vault/git" =
|
fileSystems."/vault/git" =
|
||||||
{ device = "vault/git";
|
{ device = "vault/git";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
@ -33,23 +38,18 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/vault/backups" =
|
|
||||||
{ device = "vault/backups";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/vault/nextcloud" =
|
fileSystems."/vault/nextcloud" =
|
||||||
{ device = "vault/nextcloud";
|
{ device = "vault/nextcloud";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/vault/backups/monolith" =
|
fileSystems."/vault/backups/zion" =
|
||||||
{ device = "vault/backups/monolith";
|
{ device = "vault/backups/zion";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/vault/backups/zion" =
|
fileSystems."/vault/backups/monolith" =
|
||||||
{ device = "vault/backups/zion";
|
{ device = "vault/backups/monolith";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -61,4 +61,5 @@
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.maxJobs = lib.mkDefault 4;
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,6 +77,11 @@
|
||||||
publicKey = "gS5VIUFL74kTs3zxVNT/ijWyOjeAFLEqWynD0Pefh1o=";
|
publicKey = "gS5VIUFL74kTs3zxVNT/ijWyOjeAFLEqWynD0Pefh1o=";
|
||||||
allowedIPs = [ "10.8.0.3/32" ];
|
allowedIPs = [ "10.8.0.3/32" ];
|
||||||
}
|
}
|
||||||
|
# Panacea
|
||||||
|
{
|
||||||
|
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
||||||
|
allowedIPs = [ "10.8.0.4/32" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue