feat: load nixos hm-options dynamically

This commit is contained in:
Swarsel 2024-12-15 17:18:49 +01:00
parent d9a72d44ea
commit 4232360563
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 12 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ inputs, ... }:
{ inputs, config, lib, ... }:
{
home-manager = {
home-manager = lib.mkIf config.swarselsystems.withHomeManager {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = inputs; # used mainly for inputs.self