Make sure xmonad always uses the latest libc

This commit is contained in:
Mikhail Klementev 2021-12-20 13:48:24 +00:00
parent d698f058ff
commit ce92ddf1b9
No known key found for this signature in database
GPG key ID: BE44DA8C062D87DC

View file

@ -51,8 +51,7 @@ startup = do
systemd.services.home-user-build-xmonad = {
description = "Link xmonad configuration";
serviceConfig = {
ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs";
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -sf /etc/xmonad.hs /home/user/.xmonad/xmonad.hs && /run/current-system/sw/bin/xmonad --recompile'";
RemainAfterExit = "yes";
User = "user";
Restart = "on-failure";