diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-07 15:22:57 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-15 23:15:44 +0200 |
commit | 910c2e9eb4996bfa12cd1ef925843403f7d3e154 (patch) | |
tree | 13e291516d2d66ee8307b46b8b116306efad9974 /flakes/opendmarc | |
parent | 27dd65fc95a91155367acbe15754dc22c8869552 (diff) | |
download | Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.tar.gz Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.tar.zst Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.zip |
Refactor opendmarc/openarc flakes
Diffstat (limited to 'flakes/opendmarc')
-rw-r--r-- | flakes/opendmarc/flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flakes/opendmarc/flake.nix b/flakes/opendmarc/flake.nix index f1877b6..277fd25 100644 --- a/flakes/opendmarc/flake.nix +++ b/flakes/opendmarc/flake.nix | |||
@@ -48,8 +48,8 @@ | |||
48 | nixosModule = { config, lib, pkgs, ... }: | 48 | nixosModule = { config, lib, pkgs, ... }: |
49 | let | 49 | let |
50 | cfg = config.services.opendmarc; | 50 | cfg = config.services.opendmarc; |
51 | defaultSock = "local:/run/opendmarc/opendmarc.sock"; | 51 | defaultSock = "/run/opendmarc/opendmarc.sock"; |
52 | args = [ "-f" "-l" "-p" cfg.socket ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; | 52 | args = [ "-f" "-l" "-p" "local:${cfg.socket}" ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; |
53 | in { | 53 | in { |
54 | options = { | 54 | options = { |
55 | services.opendmarc = { | 55 | services.opendmarc = { |