fix: move hyprland shell init to hyprland
This commit is contained in:
parent
03abee8b66
commit
a8c03f0261
3 changed files with 10 additions and 6 deletions
|
@ -29,6 +29,10 @@
|
|||
(lib.optionals (hostname == "nemesis") [
|
||||
./bootloaders/systemd-boot.nix
|
||||
./filesystems/hw-nemesis.nix
|
||||
# (import ./filesystems/impermanence.nix {
|
||||
# inherit inputs lib;
|
||||
# device = "nvme-nvme.c0a9-323332354536453737343334-435432303030503353534438-00000001";
|
||||
# })
|
||||
./hardware/cpu_amd.nix
|
||||
./hardware/nvidia.nix
|
||||
])
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
environment.loginShellInit = # sh
|
||||
''
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
dbus-run-session Hyprland
|
||||
fi
|
||||
'';
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
|
|
|
@ -24,12 +24,6 @@
|
|||
bindkey '^H' backward-kill-word
|
||||
'';
|
||||
# TODO: Look into whether we need to add the history attribute
|
||||
profileExtra = # bash
|
||||
''
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
dbus-run-session Hyprland
|
||||
fi
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "vi-mode";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue