mirror of
https://github.com/nix-community/flakelight.git
synced 2025-06-20 17:47:45 +02:00
Fix propagating modules to home-manager
If a NixOS config was not setting, config.home-manager.useGlobalPkgs to true, propagating the modules would fail due to setting a nested list instead of a single list like intended.
This commit is contained in:
parent
38931a25a0
commit
6115244234
@ -33,7 +33,7 @@ in
|
|||||||
# Propagate module to home-manager when using its nixos module
|
# Propagate module to home-manager when using its nixos module
|
||||||
home-manager.sharedModules =
|
home-manager.sharedModules =
|
||||||
optional (! config.home-manager.useGlobalPkgs)
|
optional (! config.home-manager.useGlobalPkgs)
|
||||||
[ flakeConfig.propagationModule ];
|
flakeConfig.propagationModule;
|
||||||
})
|
})
|
||||||
// {
|
// {
|
||||||
# Give access to flakelight module args under `flake` arg.
|
# Give access to flakelight module args under `flake` arg.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user