users/services: remove RemainAfterExit option

This commit is contained in:
Colin 2024-03-21 04:51:56 +00:00
parent 9afd9725d1
commit 81a6c53c26
2 changed files with 1 additions and 8 deletions

View File

@ -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;
};
};
};

View File

@ -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;