[NixOS] Disable home-manager keyboard configuration
This commit is contained in:
parent
1ef2ad407e
commit
c1939f45d3
@ -34,6 +34,7 @@ with lib;
|
||||
homeBinInPath = true;
|
||||
localBinInPath = true;
|
||||
extraInit = ''
|
||||
export ROFI_SYSTEMD_TERM="alacritty -e"
|
||||
export PATH="${libDir}/bin:$PATH"
|
||||
export PATH="${libDir}/functions:$PATH"
|
||||
'';
|
||||
|
@ -3,13 +3,9 @@
|
||||
enable = true;
|
||||
preferStatusNotifierItems = true;
|
||||
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
||||
profileExtra = ''
|
||||
export ROFI_SYSTEMD_TERM="alacritty -e"
|
||||
. "$HOME/.lib/login.sh"
|
||||
load_xkb_map.sh
|
||||
'';
|
||||
};
|
||||
|
||||
home.keyboard = null;
|
||||
home.emptyActivationPath = false;
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
@ -89,6 +85,23 @@
|
||||
];
|
||||
};
|
||||
|
||||
systemd.user.services.setxkbmap = {
|
||||
Unit = {
|
||||
Description = "Set up keyboard in X";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStart = "/usr/bin/env load_xkb_map";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
systemd.user.services.picom = {
|
||||
Unit = {
|
||||
Description = "Picom X11 compositor";
|
||||
|
Loading…
Reference in New Issue
Block a user