mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-13 19:06:54 +00:00
sync
This commit is contained in:
@@ -39,7 +39,15 @@
|
|||||||
npiperelay = callPackage ../../pkgs/npiperelay { };
|
npiperelay = callPackage ../../pkgs/npiperelay { };
|
||||||
#wsl-ssh-agent-relay = callPackage ../../pkgs/wsl-ssh-agent-relay { };
|
#wsl-ssh-agent-relay = callPackage ../../pkgs/wsl-ssh-agent-relay { };
|
||||||
};
|
};
|
||||||
|
fileSystems."/mnt/Public" = {
|
||||||
|
device = "//192.168.1.109/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"];
|
||||||
|
in ["${automount_opts}"];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services.nixs-wsl-systemd-fix = {
|
systemd.services.nixs-wsl-systemd-fix = {
|
||||||
description = "Fix the /dev/shm symlink to be a mount";
|
description = "Fix the /dev/shm symlink to be a mount";
|
||||||
|
|||||||
Reference in New Issue
Block a user