[NixOS] Fix rofi-systemd term

This commit is contained in:
Ivan Malison 2021-07-13 10:47:09 -06:00
parent ff6d984d4c
commit 02528907eb
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
3 changed files with 6 additions and 16 deletions

View File

@ -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

View File

@ -1 +0,0 @@
ROFI_SYSTEMD_TERM=alacritty

View File

@ -1,11 +1,13 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.sessionVariablesExtra = ''
ROFI_SYSTEMD_TERM="alacritty"
'';
xsession = { xsession = {
enable = true;
preferStatusNotifierItems = true; preferStatusNotifierItems = true;
windowManager.command = "${pkgs.haskellPackages.imalison-xmonad}/bin/imalison-xmonad";
profileExtra = ''
export ROFI_SYSTEMD_TERM="alacritty -e"
'';
}; };
home.emptyActivationPath = false; home.emptyActivationPath = false;
programs.home-manager.enable = true; programs.home-manager.enable = true;