summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/hyprland.nix5
-rw-r--r--modules/environment.nix3
2 files changed, 4 insertions, 4 deletions
diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix
index 0540606..c754eae 100644
--- a/home-manager/hyprland.nix
+++ b/home-manager/hyprland.nix
@@ -1,6 +1,3 @@
-{ config, lib, ...}:
-{
+{ config, lib, ...}: {
programs.hyprland.enable = true;
- # Optional, hint electron apps to use wayland:
- environment.sessionVariables.NIXOS_OZONE_WL = "1";
} \ No newline at end of file
diff --git a/modules/environment.nix b/modules/environment.nix
index 6842a8c..225ddda 100644
--- a/modules/environment.nix
+++ b/modules/environment.nix
@@ -4,6 +4,9 @@
# shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
# List packages installed in system profile. To search, run:
# $ nix search wget
+ sessionVariables = {
+ NIXOS_OZONE_WL = "1";
+ };
variables = {
# PATH = "/home/defin/.local/share/gem/ruby/3.0.0/bin:";
# PAGER = "sh -c 'col -bx | bat -f'";