WIP: temmie/userweb: fcgiwrap

This commit is contained in:
h7x4
2026-06-17 13:58:11 +09:00
parent aa2712005a
commit a2078c590a
5 changed files with 119 additions and 25 deletions
+30
View File
@@ -106,6 +106,36 @@ in
];
};
};
fhsBindPaths = lib.mkOption {
type = lib.types.listOf lib.types.str;
readOnly = true;
default = [
"${cfg.fhsEnv}/bin:/bin"
"${cfg.fhsEnv}/sbin:/sbin"
"${cfg.fhsEnv}/lib:/lib"
"${cfg.fhsEnv}/share:/share"
] ++ (lib.mapCartesianProduct ({ parent, child }: "${cfg.fhsEnv}${child}:${parent}${child}") {
parent = [
"/local"
"/opt"
"/opt/local"
"/store"
"/store/gnu"
"/usr"
"/usr/local"
"/run/current-system/sw"
];
child = [
"/bin"
"/sbin"
"/lib"
"/libexec"
"/include"
"/share"
];
});
};
};
config = lib.mkIf cfg.enable {