diff --git a/configuration.nix b/configuration.nix index 721d4f5..3f8f29a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,6 @@ ./misskey-service.nix ./heartles-xyz-proxy.nix ./ogdo.nix - ./postfix.nix ]; nix.settings = { diff --git a/flake.lock b/flake.lock index 895f734..2f18b39 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1722221733, - "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=", + "lastModified": 1719838683, + "narHash": "sha256-Zw9rQjHz1ilNIimEXFeVa1ERNRBF8DoXDhLAZq5B4pE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "12bf09802d77264e441f48e25459c10c93eada2e", + "rev": "d032c1a6dfad4eedec7e35e91986becc699d7d69", "type": "github" }, "original": { @@ -24,11 +24,11 @@ }, "unstable": { "locked": { - "lastModified": 1722185531, - "narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=", + "lastModified": 1719848872, + "narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d", + "rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8", "type": "github" }, "original": { diff --git a/misskey-service.nix b/misskey-service.nix index 98c2396..465f8e9 100644 --- a/misskey-service.nix +++ b/misskey-service.nix @@ -142,11 +142,6 @@ in { rewrite .* $path_full break; proxy_pass https://s3.us-west-1.wasabisys.com; ''; - - locations."/localfiles/" = { - root = "/srv/www/localfiles"; - tryFiles = "$uri =404"; - }; }; virtualHosts."egirls.gay" = { diff --git a/postfix.nix b/postfix.nix deleted file mode 100644 index 600a5d3..0000000 --- a/postfix.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, config, ... }: - -{ - services.postfix = { - enable = true; - enableSubmission = true; - domain = config.networking.fqdn; - - config = { - inet_interfaces = "loopback-only"; - smtpd_milters = "inet:127.0.0.1:8891"; - non_smtpd_milters = "$smtpd_milters"; - milter_default_action = "accept"; - }; - }; - - services.opendkim = { - enable = true; - selector = "default"; - socket = "inet:8891@127.0.0.1"; - domains = "csl:${config.networking.fqdn}"; - }; -}