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
bddc3fb8b8
commit
4414a27938
1 changed files with 24 additions and 26 deletions
|
@ -34,33 +34,31 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
# 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;
|
||||
# };
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"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} -"
|
||||
];
|
||||
# systemd.tmpfiles.rules = [
|
||||
# "Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||
# "Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
||||
# ];
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue