mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-12-25 12:29:48 +00:00
Define xmonad config, disable red border
This commit is contained in:
parent
66885cc65c
commit
1dad75f72a
20
nix/base.nix
20
nix/base.nix
@ -23,4 +23,24 @@
|
||||
extraGroups = [ "audio" ];
|
||||
createHome = true;
|
||||
};
|
||||
|
||||
environment.etc."xmonad.hs".text = ''
|
||||
import XMonad
|
||||
main = xmonad defaultConfig
|
||||
{ workspaces = [ "" ]
|
||||
, borderWidth = 0
|
||||
}
|
||||
'';
|
||||
|
||||
systemd.services.home-user-build-xmonad = {
|
||||
description = "Create and xmonad configuration";
|
||||
serviceConfig = {
|
||||
ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs";
|
||||
ExecStart = "/bin/sh -c 'mkdir /home/user/.xmonad && cp /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
|
||||
RemainAfterExit = "yes";
|
||||
Type = "oneshot";
|
||||
User = "user";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user