diff --git a/dotfiles/xprofile b/dotfiles/xprofile deleted file mode 100644 index 82bcdf19..00000000 --- a/dotfiles/xprofile +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: sh; -*- - -# If there are issues with path, check /etc/profile for hard overrides of PATH. -. "$HOME/.lib/login.sh" -# XXX: prevents https://github.com/xmonad/xmonad/issues/86 from affecting startup -rm -f ~/.xmonad - -load_xkb_map.sh - -run_if_exists systemctl --user import-environment XDG_DATA_DIRS -run_if_exists systemctl --user start wm.target diff --git a/dotfiles/xsession b/dotfiles/xsession deleted file mode 100644 index 5b690c17..00000000 --- a/dotfiles/xsession +++ /dev/null @@ -1 +0,0 @@ -ROFI_SYSTEMD_TERM=alacritty diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 8dc3a1be..457b34e9 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -1,11 +1,13 @@ { pkgs, ... }: { - home.sessionVariablesExtra = '' - ROFI_SYSTEMD_TERM="alacritty" - ''; - xsession = { + enable = true; preferStatusNotifierItems = true; + windowManager.command = "${pkgs.haskellPackages.imalison-xmonad}/bin/imalison-xmonad"; + profileExtra = '' + export ROFI_SYSTEMD_TERM="alacritty -e" + ''; }; + home.emptyActivationPath = false; programs.home-manager.enable = true;