Unverified Commit c1e61be4 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

nixos/greetd: make use of package option (#412309)

parents b50d97e6 eef3a1fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";

+1 −0
Original line number Diff line number Diff line
@@ -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;