fix drive boot

This commit is contained in:
2025-05-18 01:24:14 +03:00
parent a71b8f1780
commit 746496c1c4
3 changed files with 25 additions and 8 deletions
+12
View File
@@ -50,6 +50,18 @@ let
"gid=1000"
"fmask=0007"
"dmask=0007"
#"nofail"
"x-systemd.device-timeout=0"
];
};
"/mnt/beets/music" = {
device = "${inputs.zeroq.dirs.vetymae-drive}/Users/User/Music";
options = [
"bind"
"uid=1000"
"gid=1000"
"fmask=0007"
"dmask=0007"
"nofail"
"x-systemd.device-timeout=0"
];
+13
View File
@@ -50,6 +50,19 @@ let
device = "/dev/disk/by-uuid/37e53ebc-5343-a94d-9fe2-0ca39e13a8de";
fsType = "ext4";
options = [
#"nofail"
"x-systemd.device-timeout=0"
];
};
# beets
"/mnt/beets/music" = {
device = "${inputs.zeroq.dirs.server-home}/External/Music";
options = [
"bind"
"uid=1000"
"gid=1000"
"fmask=0007"
"dmask=0007"
"nofail"
"x-systemd.device-timeout=0"
];
-8
View File
@@ -17,14 +17,6 @@ let
beetsEnv = python3.withPackages (ps: [ ps.beets ]);
in
{
fileSystems."/mnt/beets/music" = {
device = "${inputs.zeroq.dirs.music-library}";
options = [
"bind"
"nofail"
];
};
systemd.tmpfiles.rules = [
"z /mnt/beets 0700 ${inputs.zeroq.dirs.music-library} users -" # beets absolute paths
];