move stuff to extras

This commit is contained in:
Tao Tien 2023-07-23 20:26:39 -07:00
parent 1dd8b80d42
commit 9279c2e232
4 changed files with 6 additions and 6 deletions

View file

@ -1,23 +0,0 @@
{ ... }: {
services.rpcbind.enable = true;
systemd.mounts = let commonMountOptions = { type = "nfs"; mountConfig = { Options = "noatime"; }; }; in
[
(commonMountOptions // { what = "100.86.160.104:/mnt/user/anime"; where = "/mnt/uwuraid/anime"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/backup"; where = "/mnt/uwuraid/backup"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/everything"; where = "/mnt/uwuraid/everything"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/movies"; where = "/mnt/uwuraid/movies"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/photos"; where = "/mnt/uwuraid/photos"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/syncthing"; where = "/mnt/uwuraid/syncthing"; })
(commonMountOptions // { what = "100.86.160.104:/mnt/user/television"; where = "/mnt/uwuraid/television"; })
];
systemd.automounts = let commonAutoMountOptions = { wantedBy = [ "multi-user.target" ]; automountConfig = { TimeoutIdleSec = "60"; }; }; in
[
(commonAutoMountOptions // { where = "/mnt/uwuraid/anime"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/movies"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
];
}