Added hyprland module

This commit is contained in:
Tomas Rivera
2026-02-26 09:20:06 +01:00
parent d8a08d42a3
commit a2f8aa7bc6
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -40,6 +40,8 @@
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.
services.displayManager.gdm.enable = true; services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true; services.desktopManager.gnome.enable = true;
# enable hyprland WM
programs.hyprland.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb = { services.xserver.xkb = {
+1
View File
@@ -10,6 +10,7 @@ imports = [
../../modules/home-manager/git.nix ../../modules/home-manager/git.nix
../../modules/home-manager/ssh.nix ../../modules/home-manager/ssh.nix
../../modules/home-manager/fastfetch.nix ../../modules/home-manager/fastfetch.nix
../../modules/home-manager/hyprland.nix
]; ];
+9
View File
@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
wayland.windowManager.hyprland.enable = true;
#hint Electron apps to use on wayland;
home.sessionVariables.NIXOS_OZONE_WL="1"
}