summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-12-06 22:12:50 +0100
committertv <tv@krebsco.de>2018-12-06 22:12:50 +0100
commitbfcf6ad0adaedf0d069850824fbbb55e4af20c5e (patch)
tree15412e0fd8a6e260f22f2f4a9c5c080c089f1606
parent24d1677d8b8439eb213c746bf69da5fad72c6ccc (diff)
tv xserver: xhost +SI:localuser:tv -LOCAL:
-rw-r--r--tv/2configs/xserver/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index 8d4b13fad..1c0516651 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -64,7 +64,10 @@ in {
XMONAD_DATA_DIR = cfg.dataDir;
XMONAD_STARTUP_HOOK = pkgs.writeDash "xmonad-startup-hook" ''
- ${pkgs.xorg.xhost}/bin/xhost +LOCAL: &
+ {
+ ${pkgs.xorg.xhost}/bin/xhost +SI:localuser:${cfg.user.name}
+ ${pkgs.xorg.xhost}/bin/xhost -LOCAL:
+ } &
${pkgs.xorg.xmodmap}/bin/xmodmap ${import ./Xmodmap.nix args} &
${pkgs.xorg.xrdb}/bin/xrdb ${import ./Xresources.nix args} &
${pkgs.xorg.xsetroot}/bin/xsetroot -solid '#1c1c1c' &