diff --git a/nixos/user-xsession.nix b/nixos/user-xsession.nix index 0552af7c..039a51a9 100644 --- a/nixos/user-xsession.nix +++ b/nixos/user-xsession.nix @@ -5,6 +5,10 @@ in { services = { network-manager-applet.enable = true; + kdeconnect = { + enable = true; + indicator = true; + }; }; xsession = { @@ -65,6 +69,13 @@ in programs.autorandr = { enable = true; + hooks = { + postswitch = { + "restart-polybar" = "systemctl --user restart polybar"; + "restart-kde-connect-indicator" = "systemctl --user restart kdeconnect-indicator"; + }; + }; + profiles = { "foureighty-alone" = { fingerprint = {