Revert "hedgedoc update"
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Vivian 2022-06-03 16:35:55 +02:00
parent ee8dd1022a
commit 2441b7c151
3 changed files with 10 additions and 10 deletions

View file

@ -257,16 +257,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1654258420,
"narHash": "sha256-H6oJnoRzsQIwpNfMFnqGex+6dZ1YL6TGFQfRzyEO5R8=",
"owner": "NULLx76",
"lastModified": 1654019511,
"narHash": "sha256-s3fcwUxa2rV2ZmSbdOtisNmXqeqnF9IFrvhPQL5GCBU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5506d60e56272eee4a1b111cf05dfa585a91f68d",
"rev": "692517bf851f2d8d999f0ad50f53fa1d2dd5c8f9",
"type": "github"
},
"original": {
"owner": "NULLx76",
"ref": "0x76",
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -6,7 +6,7 @@
# * https://git.voidcorp.nl/j00lz/nixos-configs/src/branch/main/flake.nix
inputs = {
nixpkgs.url = "github:NULLx76/nixpkgs/0x76";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -26,7 +26,7 @@ in
environment.noXlibs = lib.mkForce false;
networking.firewall.allowedTCPPorts = [ config.services.hedgedoc.settings.port ];
networking.firewall.allowedTCPPorts = [ config.services.hedgedoc.configuration.port ];
vault-secrets.secrets.hedgedoc = { };
@ -46,7 +46,7 @@ in
services.hedgedoc = {
enable = true;
environmentFile = "${vs.hedgedoc}/environment";
settings = {
configuration = {
host = "0.0.0.0";
port = 3000;
sessionSecret = "$SESSION_SECRET";
@ -54,7 +54,7 @@ in
protocolUseSSL = true;
hsts.enable = true;
allowOrigin = [
config.services.hedgedoc.settings.domain
config.services.hedgedoc.configuration.domain
"hedgedoc"
];
allowAnonymous = false;