Allow pkg overrides

This commit is contained in:
DashieTM 2024-12-22 13:49:01 +01:00
parent b0054a3fe1
commit 01bbcad7fa
2 changed files with 5 additions and 2 deletions

View file

@ -67,6 +67,8 @@
]; ];
}, },
additionalInputs ? { }, additionalInputs ? { },
overridePkgs ? false,
pkgOverrides ? pkgs,
... ...
}: }:
builtins.listToAttrs ( builtins.listToAttrs (
@ -84,11 +86,11 @@
inherit inherit
self self
inputs inputs
pkgs
mod mod
additionalHomeConfig additionalHomeConfig
root root
; ;
pkgs = if overridePkgs then pkgs else pkgOverrides;
hostName = name; hostName = name;
homeMods = mods.home; homeMods = mods.home;
additionalHomeMods = additionalMods.home; additionalHomeMods = additionalMods.home;

View file

@ -300,7 +300,8 @@ in
cursor = { cursor = {
enable_hyprcursor = true; enable_hyprcursor = true;
no_hardware_cursors = lib.mkIf config.mods.gpu.nvidia.enable 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 = { gestures = {