aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix/hm-module.nix
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2022-09-07 13:05:14 +0300
committerMihai Fufezan <[email protected]>2022-09-07 13:11:03 +0300
commit26910a8b63dba9c4c45cada9051c9523b71f59d8 (patch)
tree22096acd0a27ec9c27d6aa41ea2bb81af076b921 /nix/hm-module.nix
parent44a2d755c68f8e6990ea885a45ea370be8b3a392 (diff)
downloadHyprland-26910a8b63dba9c4c45cada9051c9523b71f59d8.tar.gz
Hyprland-26910a8b63dba9c4c45cada9051c9523b71f59d8.zip
Nix HM module: fix build error
Apparently HM doesn't like having `lib.mkDefault` near strings. Fixes #635
Diffstat (limited to 'nix/hm-module.nix')
-rw-r--r--nix/hm-module.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/nix/hm-module.nix b/nix/hm-module.nix
index be678ba4..4134a6ed 100644
--- a/nix/hm-module.nix
+++ b/nix/hm-module.nix
@@ -82,15 +82,15 @@ in {
++ lib.optional cfg.xwayland.enable pkgs.xwayland;
home.sessionVariables = {
- CLUTTER_BACKEND = lib.mkDefault "wayland";
- GDK_BACKEND = lib.mkDefault "wayland";
- _JAVA_AWT_WM_NONREPARENTING = lib.mkDefault "1";
- MOZ_ENABLE_WAYLAND = lib.mkDefault "1";
- NIXOS_OZONE_WL = lib.mkDefault "1";
- QT_QPA_PLATFORM = lib.mkDefault "wayland;xcb";
- QT_WAYLAND_DISABLE_WINDOWDECORATION = lib.mkDefault "1";
- XCURSOR_SIZE = lib.mkDefault toString config.home.pointerCursor.size or "24";
- XDG_SESSION_TYPE = lib.mkDefault "wayland";
+ CLUTTER_BACKEND = "wayland";
+ GDK_BACKEND = "wayland";
+ _JAVA_AWT_WM_NONREPARENTING = "1";
+ MOZ_ENABLE_WAYLAND = "1";
+ NIXOS_OZONE_WL = "1";
+ QT_QPA_PLATFORM = "wayland;xcb";
+ QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
+ XCURSOR_SIZE = toString config.home.pointerCursor.size or "24";
+ XDG_SESSION_TYPE = "wayland";
};
xdg.configFile."hypr/hyprland.conf" = {