mount share
This commit is contained in:
parent
c0e99e5921
commit
e16e3bc6be
1 changed files with 11 additions and 0 deletions
|
@ -26,6 +26,16 @@
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/share" = {
|
||||||
|
device = "//192.168.88.251/mnt/Shares/Public";
|
||||||
|
fsType = "cifs";
|
||||||
|
options = let
|
||||||
|
# this line prevents hanging on network split
|
||||||
|
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||||
|
|
||||||
|
in ["${automount_opts},credentials=/etc/nixos/smb-secrets"];
|
||||||
|
};
|
||||||
|
|
||||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -84,6 +94,7 @@
|
||||||
kitty
|
kitty
|
||||||
firefox-devedition
|
firefox-devedition
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
cifs-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue