summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-11-28 14:41:56 +0100
committertv <tv@krebsco.de>2018-11-28 14:41:56 +0100
commit9e40429f41984d8530c0ebcdb75d822da30be786 (patch)
treef77060270fd0e122239fd90eef05b43425de9e02 /tv/2configs
parentfb42f758335d0792e1bbc9e00ce6c5b079fb1cfd (diff)
tv xmonad: add currentSystem to executable name
This prevents journal messges like: XMonad is recompiling and replacing itself another XMonad process because the current process is called "xmonad" but the compiled configuration should be called "xmonad-x86_64-linux"
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xserver/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index d134572..a44ece8 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -100,8 +100,8 @@ in {
"\${XMONAD_CONFIG_DIR}"
"\${XMONAD_DATA_DIR}"
]}";
- ExecStart = "${pkgs.xmonad-tv}/bin/xmonad";
- ExecStop = "${pkgs.xmonad-tv}/bin/xmonad --shutdown";
+ ExecStart = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem}";
+ ExecStop = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem} --shutdown";
User = cfg.user.name;
WorkingDirectory = cfg.user.home;
};