devosSystem: fix iso build - can't remove core

This commit is contained in:
Pacman99 2021-04-23 23:51:51 -07:00
parent 2d9ea0d27e
commit 4e28ec2d8e

View file

@ -21,8 +21,7 @@ lib.nixosSystem (args // {
# avoid unwanted systemd service startups
# 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);
disabledModules = map lib.singleton suites.allProfiles;
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;