fix(smb): move yolo share out of $HOME
CI / lint (push) Successful in 35s
CI / eval (push) Successful in 2m15s

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:
Miguel Palhas
2026-09-02 09:26:21 +01:00
parent 08db70518b
commit aa7a9b179d
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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";
}
];
+4 -1
View File
@@ -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;
+1 -1
View File
@@ -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";
}
];