aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-02 16:46:46 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-02 16:46:46 +0100
commit2df71dc2d8e9efc0e4109d49fbda83a33fcd65c3 (patch)
treed40b940170cdc149c6c2d53e3e97c775a202ffb9 /modules/nixos
parent7bafe0974ffbc3b3e2947a75fb160f89f0ef1806 (diff)
added base hyprland config
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/des/hyprland.nix10
-rw-r--r--modules/nixos/hyprland.nix7
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