isoConfig: fix disabling profiles

convert each to a list which doesn't get appended to modulesPath
This commit is contained in:
Pacman99 2021-03-29 09:54:02 -07:00
parent 259ec11d92
commit 7650526407
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@ lib.nixosSystem (args // {
({ config, suites, ... }: {
# 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;