From 910c2e9eb4996bfa12cd1ef925843403f7d3e154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 7 Oct 2021 15:22:57 +0200 Subject: Refactor opendmarc/openarc flakes --- flakes/opendmarc/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flakes/opendmarc') 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 @@ nixosModule = { config, lib, pkgs, ... }: let cfg = config.services.opendmarc; - defaultSock = "local:/run/opendmarc/opendmarc.sock"; - args = [ "-f" "-l" "-p" cfg.socket ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; + defaultSock = "/run/opendmarc/opendmarc.sock"; + args = [ "-f" "-l" "-p" "local:${cfg.socket}" ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; in { options = { services.opendmarc = { -- cgit v1.2.3