changed nixos Module

This commit is contained in:
Sebastian Moser
2026-10-14 20:13:04 +02:00
parent 0b316ad54f
commit 105eca862d
2 changed files with 34 additions and 3 deletions

View File

@@ -381,7 +381,7 @@ in {
};
serviceConfig = {
Restart = "on-failure";
ExecStart = if config.mize.debugBinary == null then "${self.packages.${system}.mize}/bin/mize daemon" else "${config.mize.debugBinary} daemon";
ExecStart = if config.mize.debugBinary == null then "${self.packages.${system}.mize}/bin/mize run" else "${config.mize.debugBinary} run";
#After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ]; # this should mean DISPLAY and WAYLAND_DISPLAY are set in the service env...
};