Skip to content

Commit

Permalink
isoConfig: fix disabling profiles
Browse files Browse the repository at this point in the history
convert each to a list which doesn't get appended to modulesPath
  • Loading branch information
Pacman99 committed Mar 29, 2021
1 parent 259ec11 commit 7650526
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/devos/devosSystem.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7650526

Please sign in to comment.