[NixOS] Disable home-manager keyboard configuration
This commit is contained in:
parent
1ef2ad407e
commit
c1939f45d3
@ -34,6 +34,7 @@ with lib;
|
|||||||
homeBinInPath = true;
|
homeBinInPath = true;
|
||||||
localBinInPath = true;
|
localBinInPath = true;
|
||||||
extraInit = ''
|
extraInit = ''
|
||||||
|
export ROFI_SYSTEMD_TERM="alacritty -e"
|
||||||
export PATH="${libDir}/bin:$PATH"
|
export PATH="${libDir}/bin:$PATH"
|
||||||
export PATH="${libDir}/functions:$PATH"
|
export PATH="${libDir}/functions:$PATH"
|
||||||
'';
|
'';
|
||||||
|
@ -3,13 +3,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
preferStatusNotifierItems = true;
|
preferStatusNotifierItems = true;
|
||||||
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
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;
|
home.emptyActivationPath = false;
|
||||||
programs.home-manager.enable = true;
|
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 = {
|
systemd.user.services.picom = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Picom X11 compositor";
|
Description = "Picom X11 compositor";
|
||||||
|
Loading…
Reference in New Issue
Block a user