This commit is contained in:
Antoine Eiche 2024-04-27 10:58:58 +02:00
parent 9f6635a035
commit dbe03e1405
3 changed files with 10 additions and 12 deletions

View File

@ -34,17 +34,18 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709703039, "lastModified": 1710270916,
"narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", "narHash": "sha256-LwXh1KBiIbZcQ97yaJDcDOCNHAPNCy8oAKKNnx/cZh8=",
"owner": "NixOS", "owner": "ntninja",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", "rev": "3ce96b25629b5fcdd468ee88751d98736f4d2c24",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "ntninja",
"ref": "nixos-unstable", "ref": "patch-dovecot-1",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"root": { "root": {

View File

@ -7,7 +7,7 @@
flake = false; flake = false;
}; };
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
nixpkgs.url = "flake:nixpkgs/nixos-unstable"; nixpkgs.url = "github:/ntninja/nixpkgs/patch-dovecot-1";
blobs = { blobs = {
url = "gitlab:simple-nixos-mailserver/blobs"; url = "gitlab:simple-nixos-mailserver/blobs";
flake = false; flake = false;

View File

@ -179,13 +179,10 @@ in
sieve = "file:${cfg.sieveDirectory}/%u/scripts;active=${cfg.sieveDirectory}/%u/active.sieve"; sieve = "file:${cfg.sieveDirectory}/%u/scripts;active=${cfg.sieveDirectory}/%u/active.sieve";
sieve_default = "file:${cfg.sieveDirectory}/%u/default.sieve"; sieve_default = "file:${cfg.sieveDirectory}/%u/default.sieve";
sieve_default_name = "default"; sieve_default_name = "default";
sieve_extensions = ["+fileinfo"];
}; };
sieve = { sieve = {
extensions = [
"fileinto"
];
scripts.after = builtins.toFile "spam.sieve" '' scripts.after = builtins.toFile "spam.sieve" ''
require "fileinto"; require "fileinto";