feat: test

This commit is contained in:
Nick 2025-06-08 22:40:59 -05:00
parent bddc3fb8b8
commit 4414a27938

View file

@ -34,33 +34,31 @@ in
}; };
}; };
fileSystems = # fileSystems =
let # let
settings = { # settings = {
fsType = "none"; # fsType = "none";
options = [ # options = [
"bind" # "bind"
]; # ];
depends = [ # depends = [
ceres.storage0.mount # ceres.storage0.mount
]; # ];
}; # };
in # in
{ # {
"/var/lib/${service.name}" = { # "/var/lib/${service.name}" = {
device = service.paths.path0; # device = service.paths.path0;
} // settings; # } // settings;
"/var/cache/${service.name}" = { # "/var/cache/${service.name}" = {
device = "${service.paths.path1}"; # device = "${service.paths.path1}";
} // settings; # } // settings;
}; # };
systemd.tmpfiles.rules = [ # systemd.tmpfiles.rules = [
"d ${service.paths.path0} 0755 ${user0} ${service.name} -" # "Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
"d ${service.paths.path1} 0755 ${user0} ${service.name} -" # "Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
"Z ${service.paths.path0} - ${user0} ${service.name} -" # ];
"Z ${service.paths.path1} - ${user0} ${service.name} -"
];
networking = { networking = {
firewall = { firewall = {