mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: test
This commit is contained in:
parent
d662409859
commit
bddc3fb8b8
1 changed files with 23 additions and 15 deletions
|
@ -34,24 +34,32 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems =
|
||||||
|
let
|
||||||
|
settings = {
|
||||||
|
fsType = "none";
|
||||||
|
options = [
|
||||||
|
"bind"
|
||||||
|
];
|
||||||
|
depends = [
|
||||||
|
ceres.storage0.mount
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
"/var/lib/${service.name}" = {
|
"/var/lib/${service.name}" = {
|
||||||
device = service.paths.path0;
|
device = service.paths.path0;
|
||||||
fsType = "none";
|
} // settings;
|
||||||
options = [ "bind" ];
|
|
||||||
depends = [ ceres.storage0.mount ];
|
|
||||||
};
|
|
||||||
"/var/cache/${service.name}" = {
|
"/var/cache/${service.name}" = {
|
||||||
device = service.paths.path1;
|
device = "${service.paths.path1}";
|
||||||
fsType = "none";
|
} // settings;
|
||||||
options = [ "bind" ];
|
|
||||||
depends = [ ceres.storage0.mount ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
"d ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||||
"Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
"d ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
||||||
|
"Z ${service.paths.path0} - ${user0} ${service.name} -"
|
||||||
|
"Z ${service.paths.path1} - ${user0} ${service.name} -"
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue