nixos/greetd: make use of package option (#412309)
This commit is contained in:
commit
c1e61be472
@ -98,7 +98,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.greetd.greetd}/bin/greetd --config ${settingsFormat.generate "greetd.toml" cfg.settings}";
|
ExecStart = "${lib.getExe cfg.package} --config ${settingsFormat.generate "greetd.toml" cfg.settings}";
|
||||||
|
|
||||||
Restart = lib.mkIf cfg.restart "on-success";
|
Restart = lib.mkIf cfg.restart "on-success";
|
||||||
|
|
||||||
|
|||||||
@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
Comes with agreety, a simple, text-based greeter.
|
Comes with agreety, a simple, text-based greeter.
|
||||||
'';
|
'';
|
||||||
homepage = "https://sr.ht/~kennylevinsen/greetd/";
|
homepage = "https://sr.ht/~kennylevinsen/greetd/";
|
||||||
|
mainProgram = "greetd";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user