mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -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 = {
|
||||
"/var/lib/${service.name}" = {
|
||||
device = service.paths.path0;
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
depends = [ ceres.storage0.mount ];
|
||||
fileSystems =
|
||||
let
|
||||
settings = {
|
||||
fsType = "none";
|
||||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [
|
||||
ceres.storage0.mount
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
"/var/lib/${service.name}" = {
|
||||
device = service.paths.path0;
|
||||
} // settings;
|
||||
"/var/cache/${service.name}" = {
|
||||
device = "${service.paths.path1}";
|
||||
} // settings;
|
||||
};
|
||||
"/var/cache/${service.name}" = {
|
||||
device = service.paths.path1;
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
depends = [ ceres.storage0.mount ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||
"Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
||||
"d ${service.paths.path0} 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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue