Reformatting

This commit is contained in:
Greg Hellings
2025-11-02 22:44:01 -06:00
parent 2239dbeb45
commit 5e55c31019
2 changed files with 36 additions and 27 deletions
+18 -11
View File
@@ -88,18 +88,25 @@ in
}; };
}; };
}; };
ssh.matchBlocks = lib.listToAttrs (lib.map (key: { name = "${key}.ivrtechnology.com"; value = {}; }) [ ssh.matchBlocks = lib.listToAttrs (
"apidev1" lib.map
"asdev1" (key: {
"agidev1" name = "${key}.ivrtechnology.com";
"kdev1" value = { };
"kdev2" })
"kdev3" [
"webdev4" "apidev1"
"webdev5" "asdev1"
"agidev1"
"kdev1"
"kdev2"
"kdev3"
"webdev4"
"webdev5"
"web4" "web4"
]); ]
);
tmux.shell = (lib.getExe x); tmux.shell = (lib.getExe x);
}; };
} }
+18 -16
View File
@@ -32,22 +32,24 @@
vulkan-tools vulkan-tools
]; ];
systemd.mounts = let systemd.mounts =
nfs = name: { let
what = "nas1.shire-zebra.ts.net:/mnt/all/${name}"; nfs = name: {
type = "nfs"; what = "nas1.shire-zebra.ts.net:/mnt/all/${name}";
name = "${name}.mount"; type = "nfs";
where = "/${name}"; name = "${name}.mount";
requires = [ "tailscaled-autoconnect.service" ]; where = "/${name}";
after = [ "tailscaled-autoconnect.service" ]; requires = [ "tailscaled-autoconnect.service" ];
wantedBy = [ "multi-user.target" ]; after = [ "tailscaled-autoconnect.service" ];
mountConfig.Options = "_netdev,noexec,ro,timeo=50,retrans=5,soft"; wantedBy = [ "multi-user.target" ];
}; mountConfig.Options = "_netdev,noexec,ro,timeo=50,retrans=5,soft";
in [ };
(nfs "music") in
(nfs "photos") [
(nfs "video") (nfs "music")
]; (nfs "photos")
(nfs "video")
];
hardware = { hardware = {
enableAllFirmware = true; enableAllFirmware = true;