This commit is contained in:
Lukas Wurzinger 2024-08-20 21:46:27 +02:00
parent 7f6bd60769
commit 6773439226
2 changed files with 4 additions and 2 deletions

View file

@ -35,11 +35,11 @@
]; ];
}; };
genHosts = (nixpkgs.lib.pipe (builtins.readDir ./hosts) [ genHosts = nixpkgs.lib.pipe (builtins.readDir ./hosts) [
(nixpkgs.lib.filterAttrs (name: type: type == "directory" && name != "default.nix")) (nixpkgs.lib.filterAttrs (name: type: type == "directory" && name != "default.nix"))
builtins.attrNames builtins.attrNames
nixpkgs.lib.genAttrs nixpkgs.lib.genAttrs
]); ];
in in
genHosts commonNixosSystem; genHosts commonNixosSystem;
}; };

View file

@ -18,6 +18,8 @@ in {
SIGNUPS_ALLOWED = false; SIGNUPS_ALLOWED = false;
INVITATIONS_ALLOWED = false; INVITATIONS_ALLOWED = false;
ENABLE_WEBSOCKET = true;
ROCKET_ADDRESS = "127.0.0.1"; ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 8000; ROCKET_PORT = 8000;
}; };