diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix index 3f739af1a..4d3e425dc 100644 --- a/nix/modules/default/default.nix +++ b/nix/modules/default/default.nix @@ -267,10 +267,10 @@ in in { assertions = [ - { - assertion = lib.all (map (key: !(key == "CONFIG_PATH" || key == "CONFIG_READONLY" || key == "PORT" || key == "STORAGE_LOCATION")) (lib.attrNames cfg.extraEnvironment)); - message = "You cannot set CONFIG_PATH, CONFIG_READONLY, PORT or STORAGE_LOCATION in extraEnvironment, these are managed by the NixOS module."; - } +# { +# assertion = lib.all (map (key: !(key == "CONFIG_PATH" || key == "CONFIG_READONLY" || key == "PORT" || key == "STORAGE_LOCATION")) (lib.attrNames cfg.extraEnvironment)); +# message = "You cannot set CONFIG_PATH, CONFIG_READONLY, PORT or STORAGE_LOCATION in extraEnvironment, these are managed by the NixOS module."; +# } ]; users.users.spacebarchat = {