diff options
author | makefu <github@syntax-fehler.de> | 2021-08-05 21:20:17 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-08-05 21:20:17 +0200 |
commit | c177a49ca38b8c1022638deaff2dc4eefda655f3 (patch) | |
tree | 201c4245203da92228c99f0940871a996e2efee7 /lass/2configs/baseX.nix | |
parent | a072b9a49b6ee50bfdd57f62a3f60087e98c7c02 (diff) | |
parent | ba6a5456e8d76b9c1eae7cd81dca3f2b16359ba2 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/baseX.nix')
-rw-r--r-- | lass/2configs/baseX.nix | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix index e92ddbcca..655e7912f 100644 --- a/lass/2configs/baseX.nix +++ b/lass/2configs/baseX.nix @@ -2,7 +2,6 @@ with import <stockholm/lib>; let user = config.krebs.build.user; - xmonad-lass = pkgs.callPackage <stockholm/lass/5pkgs/custom/xmonad-lass> { inherit config; }; in { imports = [ ./mpv.nix @@ -19,6 +18,7 @@ in { security.rtkit.enable = true; sound.enableOSSEmulation = false; } + ./xmonad.nix { krebs.per-user.lass.packages = [ pkgs.sshuttle @@ -120,30 +120,13 @@ in { xkbVariant = "altgr-intl"; xkbOptions = "caps:escape"; libinput.enable = true; - displayManager.lightdm.enable = true; - displayManager.defaultSession = "none+xmonad"; - windowManager.session = [{ - name = "xmonad"; - start = '' + displayManager = { + lightdm.enable = true; + defaultSession = "none+xmonad"; + sessionCommands = '' ${pkgs.xorg.xhost}/bin/xhost +LOCAL: - ${pkgs.systemd}/bin/systemctl --user start xmonad - exec ${pkgs.coreutils}/bin/sleep infinity ''; - }]; - }; - - systemd.user.services.xmonad = { - environment = { - DISPLAY = ":${toString config.services.xserver.display}"; - RXVT_SOCKET = "%t/urxvtd-socket"; - XMONAD_DATA_DIR = "/tmp"; - }; - serviceConfig = { - SyslogIdentifier = "xmonad"; - ExecStart = "${xmonad-lass}/bin/xmonad"; - ExecStop = "${xmonad-lass}/bin/xmonad --shutdown"; }; - restartIfChanged = false; }; nixpkgs.config.packageOverrides = super: { |