moving old overlays to inactive dir, refactor new filesystem section

This commit is contained in:
Matt Nish-Lapidus 2025-02-13 11:27:00 -05:00
parent 09f234a90d
commit ca06918f79
4 changed files with 68 additions and 70 deletions

View file

@ -82,45 +82,43 @@ password=${config.sops.placeholder.filez}
};
};
fileSystems."/mnt/filez/media" = {
device = "//100.70.114.113/Media";
fsType = "smb3";
options = let
automount_opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000";
in [
"${automount_opts},credentials=/etc/nixos/smb-secrets"
];
};
fileSystems =
let
automount_opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000,credentials=/etc/nixos/smb-secrets";
in {
fileSystems."/mnt/filez/music-production" = {
device = "//100.70.114.113/Music Production";
fsType = "smb3";
options = let
automount_opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000";
in [
"${automount_opts},credentials=/etc/nixos/smb-secrets"
];
};
"/mnt/filez/media" = {
device = "//100.70.114.113/Media";
fsType = "smb3";
options = [
"${automount_opts}"
];
};
fileSystems."/mnt/filez/storage" = {
device = "//100.70.114.113/Storage";
fsType = "smb3";
options = let
automount_opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000";
in [
"${automount_opts},credentials=/etc/nixos/smb-secrets"
];
};
"/mnt/filez/music-production" = {
device = "//100.70.114.113/Music Production";
fsType = "smb3";
options = [
"${automount_opts}"
];
};
fileSystems."/mnt/filez/photos" = {
device = "//100.70.114.113/Photo Storage";
fsType = "smb3";
options = let
automount_opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000";
in [
"${automount_opts},credentials=/etc/nixos/smb-secrets"
];
};
"/mnt/filez/storage" = {
device = "//100.70.114.113/Storage";
fsType = "smb3";
options = [
"${automount_opts}"
];
};
"/mnt/filez/photos" = {
device = "//100.70.114.113/Photo Storage";
fsType = "smb3";
options = [
"${automount_opts}"
];
};
};
# fileSystems."/mnt/beets-import" = {
# device = "//100.103.170.132/media";