mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/beltane: Fix network by adding profile
This commit is contained in:
parent
0c17f85fc8
commit
95d81f3832
3 changed files with 3 additions and 6 deletions
|
|
@ -7,6 +7,7 @@ with lib;
|
|||
|
||||
imports = with meta; [
|
||||
profiles.hardware.rm-310
|
||||
profiles.network
|
||||
profiles.gui
|
||||
users.kat.guiFull
|
||||
services.fusionpbx
|
||||
|
|
@ -112,10 +113,6 @@ with lib;
|
|||
};
|
||||
};
|
||||
};
|
||||
wireguard = {
|
||||
enable = true;
|
||||
tf.enable = true;
|
||||
};
|
||||
yggdrasil = {
|
||||
enable = true;
|
||||
pubkey = "d3e488574367056d3ae809b678f799c29ebfd5c7151bb1f4051775b3953e5f52";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
boot.supportedFilesystems = [ "nfs" ];
|
||||
|
||||
fileSystems."/mnt/kat-nas" = lib.mkIf (config.networking.hostName != "beltane") {
|
||||
device = "${meta.network.nodes.beltane.network.addresses.private.domain}:/mnt/zraw/media";
|
||||
device = "${meta.network.nodes.beltane.network.addresses.wireguard.domain}:/mnt/zraw/media";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "nfsvers=4" "soft" "retrans=2" "timeo=60" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ with lib;
|
|||
};
|
||||
|
||||
services.nfs.server.enable = true;
|
||||
services.nfs.server.exports = "/mnt/zraw/media 192.168.1.0/24(rw) 200::/7(rw) 2a00:23c7:c597:7400::/56(rw)";
|
||||
services.nfs.server.exports = "/mnt/zraw/media 192.168.1.0/24(rw) ${config.network.wireguard.prefixV4}.0/24(rw) fe80::/10(rw) 200::/7(rw) 2a00:23c7:c597:7400::/56(rw)";
|
||||
|
||||
services.nginx.virtualHosts = kw.virtualHostGen {
|
||||
networkFilter = [ "private" "yggdrasil" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue