fix(smb): move yolo share out of $HOME
starship and eww stat every entry of the home dir, so the automount at ~/yolo fired on every prompt and blocked 10s while the VPN was still down after boot.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# yolo VM's /home/naps62 (share defined in hosts/yolo/default.nix).
|
||||
server = "10.7.10.2";
|
||||
share = "home";
|
||||
mountPoint = "/home/naps62/yolo";
|
||||
mountPoint = "/mnt/yolo";
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -40,7 +40,10 @@ in
|
||||
};
|
||||
mountPoint = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Local mount point, e.g. \"/mnt/retroarch\".";
|
||||
# MUST NOT live under $HOME: starship and eww stat every entry of the
|
||||
# home dir, so a mount point there triggers the automount on every
|
||||
# prompt and blocks for mount-timeout while the VPN is down.
|
||||
description = "Local mount point outside $HOME, e.g. \"/mnt/retroarch\".";
|
||||
};
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
# yolo VM's /home/naps62 (share defined in hosts/yolo/default.nix).
|
||||
server = "10.7.10.2";
|
||||
share = "home";
|
||||
mountPoint = "/home/naps62/yolo";
|
||||
mountPoint = "/mnt/yolo";
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user