OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
 
main @ 32 LINES
 
[ HISTORY ]  [ UP ]
 

{
  lib,
  osConfig,
  pkgs,
  ...
}: let
  inherit (lib) mkIf;
  inherit (osConfig.ooknet.workstation) environment;
in {
  config = mkIf (environment == "hyprland") {
    systemd.user.services = {
      polkit-pantheon-authentication-agent-1 = {
        Unit.Description = "polkit-pantheon-authentication-agent-1";

        Install = {
          WantedBy = ["graphical-session.target"];
          Wants = ["graphical-session.target"];
          After = ["graphical-session.target"];
        };

        Service = {
          Type = "simple";
          ExecStart = "${pkgs.pantheon.pantheon-agent-polkit}/libexec/policykit-1-
pantheon/io.elementary.desktop.agent-polkit";
          Restart = "on-failure";
          RestartSec = 1;
          TimeoutStopSec = 10;
        };
      };
    };
  };
}

{
  lib,
  osConfig,
  pkgs,
  ...
}: let
  inherit (lib) mkIf;
  inherit (osConfig.ooknet.workstation) envi
ronment;
in {
  config = mkIf (environment == "hyprland") 
{
    systemd.user.services = {
      polkit-pantheon-authentication-agent-1
 = {
        Unit.Description = "polkit-pantheon-
authentication-agent-1";

        Install = {
          WantedBy = ["graphical-session.tar
get"];
          Wants = ["graphical-session.target
"];
          After = ["graphical-session.target
"];
        };

        Service = {
          Type = "simple";
          ExecStart = "${pkgs.pantheon.panth
eon-agent-polkit}/libexec/policykit-1-panthe
on/io.elementary.desktop.agent-polkit";
          Restart = "on-failure";
          RestartSec = 1;
          TimeoutStopSec = 10;
        };
      };
    };
  };
}
 
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET