summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-27 10:38:40 +0100
committerRory& <root@rory.gay>2025-12-27 10:38:40 +0100
commit016d3b9d8847bc21e4ecb7c11e8cee4b65302c0b (patch)
tree94f0cb42bb86ea93f082385293fc124fb5677010
parentbleh (diff)
downloadserver-ts-016d3b9d8847bc21e4ecb7c11e8cee4b65302c0b.tar.xz
bleh
-rw-r--r--nix/modules/default/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix

index 3f739af1..4d3e425d 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 = {