fs: ensure directories for remote filesystems are created
This commit is contained in:
parent
db851d960c
commit
1583b213f1
|
@ -83,36 +83,42 @@ in
|
||||||
options = fsOpts.sshColin ++ fsOpts.noauto;
|
options = fsOpts.sshColin ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/servo-media-wan" = sane-lib.fs.wantedDir;
|
||||||
fileSystems."/mnt/servo-media-lan" = {
|
fileSystems."/mnt/servo-media-lan" = {
|
||||||
device = "colin@servo:/var/lib/uninsane/media";
|
device = "colin@servo:/var/lib/uninsane/media";
|
||||||
fsType = "fuse.sshfs";
|
fsType = "fuse.sshfs";
|
||||||
options = fsOpts.sshColin ++ fsOpts.noauto;
|
options = fsOpts.sshColin ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/servo-media-lan" = sane-lib.fs.wantedDir;
|
||||||
fileSystems."/mnt/servo-root-wan" = {
|
fileSystems."/mnt/servo-root-wan" = {
|
||||||
device = "colin@uninsane.org:/";
|
device = "colin@uninsane.org:/";
|
||||||
fsType = "fuse.sshfs";
|
fsType = "fuse.sshfs";
|
||||||
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/servo-root-wan" = sane-lib.fs.wantedDir;
|
||||||
fileSystems."/mnt/servo-root-lan" = {
|
fileSystems."/mnt/servo-root-lan" = {
|
||||||
device = "colin@servo:/";
|
device = "colin@servo:/";
|
||||||
fsType = "fuse.sshfs";
|
fsType = "fuse.sshfs";
|
||||||
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/servo-root-lan" = sane-lib.fs.wantedDir;
|
||||||
fileSystems."/mnt/desko-home" = {
|
fileSystems."/mnt/desko-home" = {
|
||||||
device = "colin@desko:/home/colin";
|
device = "colin@desko:/home/colin";
|
||||||
fsType = "fuse.sshfs";
|
fsType = "fuse.sshfs";
|
||||||
options = fsOpts.sshColin ++ fsOpts.noauto;
|
options = fsOpts.sshColin ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/desko-home" = sane-lib.fs.wantedDir;
|
||||||
fileSystems."/mnt/desko-root" = {
|
fileSystems."/mnt/desko-root" = {
|
||||||
device = "colin@desko:/";
|
device = "colin@desko:/";
|
||||||
fsType = "fuse.sshfs";
|
fsType = "fuse.sshfs";
|
||||||
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
options = fsOpts.sshRoot ++ fsOpts.noauto;
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
};
|
};
|
||||||
|
sane.fs."/mnt/desko-root" = sane-lib.fs.wantedDir;
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
# needed to achieve superuser access for user-mounted filesystems (see optionsRoot above)
|
# needed to achieve superuser access for user-mounted filesystems (see optionsRoot above)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user