From 01bbcad7faadbc90be2c2a0d257d18f0b7efcb1c Mon Sep 17 00:00:00 2001 From: DashieTM Date: Sun, 22 Dec 2024 13:49:01 +0100 Subject: [PATCH] Allow pkg overrides --- lib/default.nix | 4 +++- modules/programs/hyprland/hyprland.nix | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 9060867..f2bdc8b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -67,6 +67,8 @@ ]; }, additionalInputs ? { }, + overridePkgs ? false, + pkgOverrides ? pkgs, ... }: builtins.listToAttrs ( @@ -84,11 +86,11 @@ inherit self inputs - pkgs mod additionalHomeConfig root ; + pkgs = if overridePkgs then pkgs else pkgOverrides; hostName = name; homeMods = mods.home; additionalHomeMods = additionalMods.home; diff --git a/modules/programs/hyprland/hyprland.nix b/modules/programs/hyprland/hyprland.nix index 238dd0e..0d06c81 100644 --- a/modules/programs/hyprland/hyprland.nix +++ b/modules/programs/hyprland/hyprland.nix @@ -300,7 +300,8 @@ in cursor = { enable_hyprcursor = true; no_hardware_cursors = lib.mkIf config.mods.gpu.nvidia.enable true; - # no_break_fs_vrr = true; + # done with nix, this would break the current setup otherwise + sync_gsettings_theme = false; }; gestures = {