forked from pub-solar/os
isoConfig: fix disabling profiles
convert each to a list which doesn't get appended to modulesPath
This commit is contained in:
parent
259ec11d92
commit
7650526407
|
@ -18,7 +18,10 @@ lib.nixosSystem (args // {
|
||||||
({ config, suites, ... }: {
|
({ config, suites, ... }: {
|
||||||
|
|
||||||
# avoid unwanted systemd service startups
|
# avoid unwanted systemd service startups
|
||||||
disabledModules = lib.remove modules.core suites.allProfiles;
|
# all strings in disabledModules get appended to modulesPath
|
||||||
|
# so convert each to list which can be coerced to string
|
||||||
|
disabledModules = map (x: [ x ])
|
||||||
|
(lib.remove modules.core suites.allProfiles);
|
||||||
|
|
||||||
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;
|
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue