about summary refs log tree commit diff
path: root/modules/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xorg')
-rw-r--r--modules/xorg/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/xorg/default.nix b/modules/xorg/default.nix
index 55c704f..2ed01ca 100644
--- a/modules/xorg/default.nix
+++ b/modules/xorg/default.nix
@@ -1,5 +1,8 @@
-{ config, pkgs, ... }:
 {
+  config,
+  pkgs,
+  ...
+}: {
   # Starting graphical-session.target doesn't work coz systemd. NixOS has a bug
   # where the graphical-session.target isn't started on wayland (https://github.com/NixOS/nixpkgs/issues/169143).
   # We are kind of screwed :)
@@ -25,18 +28,16 @@
 
   systemd.user.services.polkit-gnome-authentication-agent-1 = {
     description = "polkit-gnome-authentication-agent-1";
-    wants = [ "graphical-session.target" ];
-    wantedBy = [ "graphical-session.target" ];
-    after = [ "graphical-session.target" ];
+    wants = ["graphical-session.target"];
+    wantedBy = ["graphical-session.target"];
+    after = ["graphical-session.target"];
     serviceConfig = {
       Type = "simple";
-      ExecStart =
-        "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
+      ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
       Restart = "on-failure";
       RestartSec = 1;
       TimeoutStopSec = 10;
     };
   };
   systemd.user.services.polkit-gnome-authentication-agent-1.enable = true;
-
 }