From edd5c880867a8941edfd9cf4cde52df04cef7932 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Wed, 19 Dec 2018 22:37:15 +0100 Subject: [PATCH] nixos/postgrey: /var/run -> /run --- nixos/modules/rename.nix | 2 +- nixos/modules/services/mail/postgrey.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index 7fb58a2b8002..a7243e8eae0b 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -208,7 +208,7 @@ with lib; inetPort = [ "services" "postgrey" "inetPort" ]; in if value inetAddr == null - then { path = "/var/run/postgrey.sock"; } + then { path = "/run/postgrey.sock"; } else { addr = value inetAddr; port = value inetPort; } )) diff --git a/nixos/modules/services/mail/postgrey.nix b/nixos/modules/services/mail/postgrey.nix index 241f75eae279..8e2b9c5dbc56 100644 --- a/nixos/modules/services/mail/postgrey.nix +++ b/nixos/modules/services/mail/postgrey.nix @@ -29,7 +29,7 @@ with lib; let options = { path = mkOption { type = path; - default = "/var/run/postgrey.sock"; + default = "/run/postgrey.sock"; description = "Path of the unix socket"; }; @@ -53,7 +53,7 @@ in { socket = mkOption { type = socket; default = { - path = "/var/run/postgrey.sock"; + path = "/run/postgrey.sock"; mode = "0777"; }; example = {