diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 16:46:46 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 16:46:46 +0100 |
| commit | 2df71dc2d8e9efc0e4109d49fbda83a33fcd65c3 (patch) | |
| tree | d40b940170cdc149c6c2d53e3e97c775a202ffb9 /modules/nixos | |
| parent | 7bafe0974ffbc3b3e2947a75fb160f89f0ef1806 (diff) | |
added base hyprland config
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 |
