nixos/moonraker: Fix permission issues on tmpfiles
The configuration of tmpfiles was not creating the expected filesystem tree.
The cause was the missing path listing of `{moonraker}/tools` result in `{moonraker}/tools`
to be created with the owner set as `root:root` preventing `systemd-tmpfiles` from creating link for `klipper-estimator`
This commit is contained in:
@@ -176,6 +176,7 @@ in
|
||||
]
|
||||
++ lib.optional (cfg.configDir != null) "d '${cfg.configDir}' - ${cfg.user} ${cfg.group} - -"
|
||||
++ lib.optionals cfg.analysis.enable [
|
||||
"d '${cfg.stateDir}/tools' - ${cfg.user} ${cfg.group} - -"
|
||||
"d '${cfg.stateDir}/tools/klipper_estimator' - ${cfg.user} ${cfg.group} - -"
|
||||
"L+ '${cfg.stateDir}/tools/klipper_estimator/klipper_estimator_linux' - - - - ${lib.getExe pkgs.klipper-estimator}"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user