From dce2c3c26a2ff9770bbba2a00471c03ab321c472 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 30 Dec 2024 11:35:14 +0100 Subject: fmt --- modules/xorg/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'modules/xorg') 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; - } -- cgit 1.4.1