mirror of
https://github.com/oqyude/nixos.git
synced 2026-08-08 23:53:11 +03:00
varlib reconfig
This commit is contained in:
@@ -39,6 +39,11 @@ in
|
|||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d ${xlib.dirs.services-mnt-folder}/calibre-web 0755 calibre-web calibre-web -"
|
||||||
|
"d ${xlib.dirs.services-mnt-folder}/calibre-web-library 0755 calibre-web calibre-web -"
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/var/lib/calibre-web" = {
|
"/var/lib/calibre-web" = {
|
||||||
device = "${xlib.dirs.services-mnt-folder}/calibre-web";
|
device = "${xlib.dirs.services-mnt-folder}/calibre-web";
|
||||||
@@ -48,13 +53,5 @@ in
|
|||||||
"nofail"
|
"nofail"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# "/var/lib/calibre-server" = {
|
|
||||||
# device = "${xlib.dirs.services-mnt-folder}/calibre-web-library";
|
|
||||||
# fsType = "none";
|
|
||||||
# options = [
|
|
||||||
# "bind"
|
|
||||||
# "nofail"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,4 +63,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d ${xlib.dirs.services-mnt-folder}/samba 0755 root root -"
|
||||||
|
"z ${xlib.dirs.services-mnt-folder}/samba 0755 root root -"
|
||||||
|
];
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/var/lib/samba" = {
|
||||||
|
device = "${xlib.dirs.services-mnt-folder}/samba";
|
||||||
|
fsType = "none";
|
||||||
|
options = [
|
||||||
|
"bind"
|
||||||
|
"nofail"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user