From e451e8760c6f8636a352f0e5caf6a147898a6040 Mon Sep 17 00:00:00 2001 From: NullBite Date: Mon, 19 Feb 2024 10:57:30 +0100 Subject: [PATCH] general fixes --- home/sessions/hyprland.nix | 2 +- system/hardware/binfmt.nix | 2 +- system/sessions/hyprland.nix | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/sessions/hyprland.nix b/home/sessions/hyprland.nix index 4d7387c..a390317 100644 --- a/home/sessions/hyprland.nix +++ b/home/sessions/hyprland.nix @@ -60,7 +60,7 @@ in wayland.windowManager.hyprland = { enable = true; - package = lib.mkIf (osConfig ? programs) lib.mkDefault osConfig.programs.hyprland.package; + package = lib.mkIf (osConfig ? programs) (lib.mkDefault osConfig.programs.hyprland.package); settings = { # Xwayland fix diff --git a/system/hardware/binfmt.nix b/system/hardware/binfmt.nix index bf30dd7..9247702 100644 --- a/system/hardware/binfmt.nix +++ b/system/hardware/binfmt.nix @@ -8,7 +8,7 @@ let x86 = [ "i686-linux" "x86_64-linux" ]; windows = [ "x86_64-windows" "i686-windows" ]; systems = { - x86_64-linux = riscv ++ arm ++ windows; + x86_64-linux = riscv ++ arm; aarch64-linux = riscv; }; in diff --git a/system/sessions/hyprland.nix b/system/sessions/hyprland.nix index 8a52d9a..2453138 100644 --- a/system/sessions/hyprland.nix +++ b/system/sessions/hyprland.nix @@ -27,8 +27,8 @@ in programs.hyprland = { enable = true; - # TODO base this on if nvidia is enabled - enableNvidiaPatches = lib.mkDefault true; + # # TODO base this on if nvidia is enabled + # enableNvidiaPatches = lib.mkIf (!cfg.useFlake) lib.mkDefault true; xwayland.enable = true; package = lib.mkIf cfg.useFlake flake-package; };