move hyprland config to modules/wm/hyprland.nix

This commit is contained in:
Emile Clark-Boman 2025-08-31 15:09:20 +10:00
parent d1cfd55e67
commit 940a79292e
3 changed files with 15 additions and 8 deletions

View file

@ -14,6 +14,8 @@ in {
./hardware-configuration.nix
(import "${home-manager}/nixos")
../modules/wm/hyprland.nix
../modules/steam.nix
../modules/obsidian.nix
@ -110,7 +112,7 @@ in {
defaultSession =
"hyprland"
+ (
if config.programs.hyprland.withUWSM == true
if config.programs.hyprland.withUWSM
then "-uwsm"
else null
);
@ -318,12 +320,6 @@ in {
#};
programs = {
hyprland = {
enable = true;
withUWSM = true; # Universal Wayland Session Manager
xwayland.enable = true;
};
zsh.enable = true;
fish.enable = true;