mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
fix drive boot
This commit is contained in:
@@ -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"
|
||||
];
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
|
||||
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user