users/services: remove oneshot
service type
This commit is contained in:
parent
dee4866737
commit
db12e03f64
|
@ -256,7 +256,7 @@ in
|
|||
wantedBy = [ "default.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/sway";
|
||||
Type = "oneshot";
|
||||
Type = "simple";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -43,7 +43,7 @@ let
|
|||
};
|
||||
|
||||
serviceConfig.Type = mkOption {
|
||||
type = types.enum [ "dbus" "oneshot" "simple" ];
|
||||
type = types.enum [ "dbus" "simple" ];
|
||||
};
|
||||
serviceConfig.ExecStart = mkOption {
|
||||
type = types.nullOr (types.coercedTo types.package toString types.str);
|
||||
|
|
Loading…
Reference in New Issue
Block a user