mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Added hyprland module
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
# Enable the GNOME Desktop Environment.
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.desktopManager.gnome.enable = true;
|
||||
# enable hyprland WM
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
|
||||
@@ -10,6 +10,7 @@ imports = [
|
||||
../../modules/home-manager/git.nix
|
||||
../../modules/home-manager/ssh.nix
|
||||
../../modules/home-manager/fastfetch.nix
|
||||
../../modules/home-manager/hyprland.nix
|
||||
];
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user