diff options
Diffstat (limited to 'modules/nixos')
| -rw-r--r-- | modules/nixos/des/hyprland.nix | 10 | ||||
| -rw-r--r-- | modules/nixos/hyprland.nix | 7 |
2 files changed, 10 insertions, 7 deletions
diff --git a/modules/nixos/des/hyprland.nix b/modules/nixos/des/hyprland.nix new file mode 100644 index 0000000..6471bfd --- /dev/null +++ b/modules/nixos/des/hyprland.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ + wayland.windowManager.hyprland = { + enable = true; + }; + + # hint Electron apps to use Wayland: + home.sessionVariables.NIXOS_OZONE_WL = "1"; +}
\ No newline at end of file diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix deleted file mode 100644 index a13aa20..0000000 --- a/modules/nixos/hyprland.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - services.hyprland = { - enable = true; - }; -}
\ No newline at end of file |
