- Refactor `flake.nix` to simplify the `outputs` section and remove redundant configurations - Update `lsp.nix` to use hostname for NixOS and Home Manager configurations. - Add `key-remaps.nix` script to `dwm` configuration and update `xinitrc.nix` to include it in autostart. - Comment out non-functional `displayManager.sessionCommands` in `citadel/default.nix`.
11 lines
417 B
Nix
11 lines
417 B
Nix
{pkgs, ...}: {
|
|
home.packages = with pkgs; [
|
|
(writeShellScriptBin "key-remaps" ''
|
|
${xorg.xmodmap}/bin/xmodmap -e "keycode 64 = Mode_switch"
|
|
${xorg.xmodmap}/bin/xmodmap -e "keycode 43 = h H Left H"
|
|
${xorg.xmodmap}/bin/xmodmap -e "keycode 44 = j J Down J"
|
|
${xorg.xmodmap}/bin/xmodmap -e "keycode 45 = k K Up K"
|
|
${xorg.xmodmap}/bin/xmodmap -e "keycode 46 = l L Right L"
|
|
'')
|
|
];
|
|
}
|