diff --git a/configs/default.nix b/configs/default.nix index 713c0c0..02caac1 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -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 ]) diff --git a/configs/graphical/hyprland.nix b/configs/graphical/hyprland.nix index 9f91604..a92f223 100644 --- a/configs/graphical/hyprland.nix +++ b/configs/graphical/hyprland.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; diff --git a/configs/shell/zsh.nix b/configs/shell/zsh.nix index a2d7996..a95d820 100644 --- a/configs/shell/zsh.nix +++ b/configs/shell/zsh.nix @@ -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";