mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
rustboro: add samba share automounts
This commit is contained in:
parent
9457d47b86
commit
9f10655a6c
|
@ -21,6 +21,42 @@
|
|||
|
||||
networking.hostName = "rustboro"; # Define your hostname.
|
||||
|
||||
fileSystems = {
|
||||
"/mnt/Archive" = {
|
||||
device = "//mauville/Archive";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"gid=100"
|
||||
"guest"
|
||||
"nofail"
|
||||
"uid=${toString config.users.users.aly.uid}"
|
||||
"x-systemd.after=network.target"
|
||||
"x-systemd.after=tailscaled.service"
|
||||
"x-systemd.automount"
|
||||
"x-systemd.device-timeout=5s"
|
||||
"x-systemd.idle-timeout=60"
|
||||
"x-systemd.mount-timeout=5s"
|
||||
];
|
||||
};
|
||||
|
||||
"/mnt/Media" = {
|
||||
device = "//mauville/Media";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"gid=100"
|
||||
"guest"
|
||||
"nofail"
|
||||
"uid=${toString config.users.users.aly.uid}"
|
||||
"x-systemd.after=network.target"
|
||||
"x-systemd.after=tailscaled.service"
|
||||
"x-systemd.automount"
|
||||
"x-systemd.device-timeout=5s"
|
||||
"x-systemd.idle-timeout=60"
|
||||
"x-systemd.mount-timeout=5s"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
alyraffauf = {
|
||||
base = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue