fix server, etc etc

This commit is contained in:
Tao Tien 2024-01-22 10:40:07 -08:00
parent 827885b5b2
commit 50d47ffe5a
6 changed files with 42 additions and 39 deletions

View file

@ -4,20 +4,20 @@
let
opts = {
type = "cifs";
mountConfig = { Options = "credentials=/etc/nixos/smb-secrets,noatime,uid=1000,gid=100"; };
mountConfig = { Options = "users,noauto,credentials=/etc/nixos/smb-secrets,noatime,uid=1000,gid=100"; };
};
in
[
(opts // { what = "//100.86.160.104/anime"; where = "/mnt/uwuraid/anime"; })
(opts // { what = "//100.86.160.104/backup"; where = "/mnt/uwuraid/backup"; })
(opts // { what = "//100.86.160.104/everything"; where = "/mnt/uwuraid/everything"; })
(opts // { what = "//100.86.160.104/isos"; where = "/mnt/uwuraid/isos"; })
# (opts // { what = "//100.86.160.104/jellyfin"; where = "/mnt/uwuraid/jellyfin"; })
(opts // { what = "//100.86.160.104/movies"; where = "/mnt/uwuraid/movies"; })
(opts // { what = "//100.86.160.104/music"; where = "/mnt/uwuraid/music"; })
(opts // { what = "//100.86.160.104/photos"; where = "/mnt/uwuraid/photos"; })
(opts // { what = "//100.86.160.104/syncthing"; where = "/mnt/uwuraid/syncthing"; })
(opts // { what = "//100.86.160.104/television"; where = "/mnt/uwuraid/television"; })
(opts // { what = "//100.97.47.81/anime"; where = "/mnt/uwuraid/anime"; })
(opts // { what = "//100.97.47.81/backup"; where = "/mnt/uwuraid/backup"; })
(opts // { what = "//100.97.47.81/everything"; where = "/mnt/uwuraid/everything"; })
(opts // { what = "//100.97.47.81/isos"; where = "/mnt/uwuraid/isos"; })
# (opts // { what = "//100.97.47.81/jellyfin"; where = "/mnt/uwuraid/jellyfin"; })
(opts // { what = "//100.97.47.81/movies"; where = "/mnt/uwuraid/movies"; })
(opts // { what = "//100.97.47.81/music"; where = "/mnt/uwuraid/music"; })
(opts // { what = "//100.97.47.81/photos"; where = "/mnt/uwuraid/photos"; })
(opts // { what = "//100.97.47.81/syncthing"; where = "/mnt/uwuraid/syncthing"; })
(opts // { what = "//100.97.47.81/television"; where = "/mnt/uwuraid/television"; })
];
systemd.automounts =
let