diff --git a/flake.lock b/flake.lock index 2969a7e..69331b5 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } diff --git a/flake.nix b/flake.nix index 810bdbb..b6792ef 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/nixos/hosts/hedgedoc/configuration.nix b/nixos/hosts/hedgedoc/configuration.nix index dbb8dd3..c3d0429 100644 --- a/nixos/hosts/hedgedoc/configuration.nix +++ b/nixos/hosts/hedgedoc/configuration.nix @@ -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;