From 7650526407a2fe5f8ee326c090d74c3047b728fd Mon Sep 17 00:00:00 2001 From: Pacman99 Date: Mon, 29 Mar 2021 09:54:02 -0700 Subject: [PATCH] isoConfig: fix disabling profiles convert each to a list which doesn't get appended to modulesPath --- lib/devos/devosSystem.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/devos/devosSystem.nix b/lib/devos/devosSystem.nix index 99c217b..b0f53fd 100644 --- a/lib/devos/devosSystem.nix +++ b/lib/devos/devosSystem.nix @@ -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;