nixos/greetd: make use of package option (#412309)
This commit is contained in:
commit
c1e61be472
@ -98,7 +98,7 @@ in
|
||||
};
|
||||
|
||||
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";
|
||||
|
||||
|
||||
@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec {
|
||||
Comes with agreety, a simple, text-based greeter.
|
||||
'';
|
||||
homepage = "https://sr.ht/~kennylevinsen/greetd/";
|
||||
mainProgram = "greetd";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user