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 = { systemd.services.home-user-build-xmonad = {
description = "Link xmonad configuration"; description = "Link xmonad configuration";
serviceConfig = { serviceConfig = {
ConditionFileNotEmpty = "!/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'";
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
RemainAfterExit = "yes"; RemainAfterExit = "yes";
User = "user"; User = "user";
Restart = "on-failure"; Restart = "on-failure";