From a5404d3b91f52e3b5c04f0b9dc2a32bc919c792e Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 30 Sep 2025 08:04:39 +0200 Subject: [PATCH] Clean up config --- flake.lock | 12 ++++++------ hosts/nixos/hs/proxy.nix | 20 -------------------- modules/webdav.nix | 4 +--- 3 files changed, 7 insertions(+), 29 deletions(-) diff --git a/flake.lock b/flake.lock index ef7e9a1..4a0fe73 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1758780129, - "narHash": "sha256-W6ZGB+Ws+WKSYZ0GaDUipgHRlb3WuJ5XAoyKojrjql4=", + "lastModified": 1759201958, + "narHash": "sha256-+vm2LR3c38rjy+nZMtmxjJEsItH5coIqa1mHjSnIB8M=", "owner": "sadjow", "repo": "claude-code-nix", - "rev": "52e473ff3ed860e423e5dcb22555d8de91429849", + "rev": "a9151e71771a1c2d1874cffe549749c5c27642ed", "type": "github" }, "original": { @@ -224,11 +224,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1758446476, - "narHash": "sha256-5rdAi7CTvM/kSs6fHe1bREIva5W3TbImsto+dxG4mBo=", + "lastModified": 1759070547, + "narHash": "sha256-JVZl8NaVRYb0+381nl7LvPE+A774/dRpif01FKLrYFQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a1f79a1770d05af18111fbbe2a3ab2c42c0f6cd0", + "rev": "647e5c14cbd5067f44ac86b74f014962df460840", "type": "github" }, "original": { diff --git a/hosts/nixos/hs/proxy.nix b/hosts/nixos/hs/proxy.nix index fadc447..0af849b 100644 --- a/hosts/nixos/hs/proxy.nix +++ b/hosts/nixos/hs/proxy.nix @@ -16,18 +16,6 @@ }; }; - # WebDAV file server - # files = { - # rule = "Host(`files.${config.networking.hostName}.yanlincs.com`)"; - # entrypoints = "websecure"; - # service = "files"; - # tls = { - # certResolver = "cloudflare"; - # domains = [{ - # main = "*.${config.networking.hostName}.yanlincs.com"; - # }]; - # }; - # }; }; services = { @@ -39,14 +27,6 @@ }; }; - # WebDAV file server - # files = { - # loadBalancer = { - # servers = [{ - # url = "http://localhost:5009"; - # }]; - # }; - # }; }; }; }; diff --git a/modules/webdav.nix b/modules/webdav.nix index 9ccb757..99182df 100644 --- a/modules/webdav.nix +++ b/modules/webdav.nix @@ -153,7 +153,5 @@ in }; }; - # Open firewall port if needed (usually not needed as it goes through Traefik) - # networking.firewall.allowedTCPPorts = [ cfg.port ]; }; -} \ No newline at end of file +}