users/services: remove RemainAfterExit option
This commit is contained in:
parent
9afd9725d1
commit
81a6c53c26
|
@ -252,14 +252,11 @@ in
|
|||
# };
|
||||
|
||||
services.sway = {
|
||||
description = "sway: launch it";
|
||||
description = "sway: tiling wayland desktop environment";
|
||||
wantedBy = [ "default.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/sway";
|
||||
# ExecStart = "${lib.getBin pkgs.glib}/bin/gio launch sway.desktop";
|
||||
# ExecStart = "${pkgs.sane-open-desktop}/bin/sane-open-desktop sway.desktop";
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -69,10 +69,6 @@ let
|
|||
only once the name is registered will the service be considered "active".
|
||||
'';
|
||||
};
|
||||
serviceConfig.RemainAfterExit = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
unitConfig.ConditionEnvironment = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user