assorted: remove no-longer-needed sanebox PATH fixes
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
# after = [ "polkit.service" ];
|
# after = [ "polkit.service" ];
|
||||||
# requires = [ "polkit.service" ];
|
# requires = [ "polkit.service" ];
|
||||||
wantedBy = [ "network.target" ]; #< default is `multi-user.target`, somehow it doesn't auto-start with that...
|
wantedBy = [ "network.target" ]; #< default is `multi-user.target`, somehow it doesn't auto-start with that...
|
||||||
path = [ "/run/current-system/sw" ]; #< so it can find `sanebox`
|
|
||||||
|
|
||||||
# serviceConfig.Type = "dbus";
|
# serviceConfig.Type = "dbus";
|
||||||
# serviceConfig.BusName = "org.freedesktop.ModemManager1";
|
# serviceConfig.BusName = "org.freedesktop.ModemManager1";
|
||||||
|
@@ -39,8 +39,6 @@ lib.mkMerge [
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
path = [ "/run/current-system/sw" ]; #< so `sanebox` works
|
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${cfg.package}/bin/seatd -g seat";
|
ExecStart = "${cfg.package}/bin/seatd -g seat";
|
||||||
|
@@ -139,11 +139,6 @@ in
|
|||||||
# N.B.: exec paths here must be absolute. neither systemd nor agetty query PATH.
|
# N.B.: exec paths here must be absolute. neither systemd nor agetty query PATH.
|
||||||
serviceConfig.ExecStart = "${pkgs.util-linux}/bin/agetty --login-program '${cfg.config.launcher}/bin/unl0kr-login' --noclear --skip-login --keep-baud ${tty} 115200,38400,9600 $TERM";
|
serviceConfig.ExecStart = "${pkgs.util-linux}/bin/agetty --login-program '${cfg.config.launcher}/bin/unl0kr-login' --noclear --skip-login --keep-baud ${tty} 115200,38400,9600 $TERM";
|
||||||
|
|
||||||
path = [
|
|
||||||
# necessary for `sanebox` to be found. TODO: add this to every systemd service.
|
|
||||||
"/run/current-system/sw" # `/bin` is appended
|
|
||||||
];
|
|
||||||
|
|
||||||
serviceConfig.Type = "simple";
|
serviceConfig.Type = "simple";
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
serviceConfig.RestartSec = "5";
|
serviceConfig.RestartSec = "5";
|
||||||
|
Reference in New Issue
Block a user