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/openarc | |
parent | 27dd65fc95a91155367acbe15754dc22c8869552 (diff) | |
download | Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.tar.gz Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.tar.zst Nix-910c2e9eb4996bfa12cd1ef925843403f7d3e154.zip |
Refactor opendmarc/openarc flakes
Diffstat (limited to 'flakes/openarc')
-rw-r--r-- | flakes/openarc/flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flakes/openarc/flake.nix b/flakes/openarc/flake.nix index f4ce653..6fd45bf 100644 --- a/flakes/openarc/flake.nix +++ b/flakes/openarc/flake.nix | |||
@@ -63,8 +63,8 @@ | |||
63 | nixosModule = { config, lib, pkgs, ... }: | 63 | nixosModule = { config, lib, pkgs, ... }: |
64 | let | 64 | let |
65 | cfg = config.services.openarc; | 65 | cfg = config.services.openarc; |
66 | defaultSock = "local:/run/openarc/openarc.sock"; | 66 | defaultSock = "/run/openarc/openarc.sock"; |
67 | args = [ "-f" "-p" cfg.socket ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; | 67 | args = [ "-f" "-p" "local:${cfg.socket}" ] ++ lib.optionals (cfg.configFile != null) [ "-c" cfg.configFile ]; |
68 | in { | 68 | in { |
69 | options = { | 69 | options = { |
70 | services.openarc = { | 70 | services.openarc = { |