From 2df71dc2d8e9efc0e4109d49fbda83a33fcd65c3 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 16:46:46 +0100 Subject: added base hyprland config --- modules/nixos/des/hyprland.nix | 10 ++++++++++ modules/nixos/hyprland.nix | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 modules/nixos/des/hyprland.nix delete mode 100644 modules/nixos/hyprland.nix (limited to 'modules/nixos') 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 -- cgit v1.2.3