summary refs log tree commit diff
path: root/nixos/modules/services/networking/hans.nix
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2018-04-23 23:40:47 +0300
committergnidorah <gnidorah@users.noreply.github.com>2018-04-23 23:40:47 +0300
commitce8f347ca8d69f606bbfeee44f74a5f05664b3cd (patch)
treea57dd35d22927404a88fe46c6583ae645ac16f13 /nixos/modules/services/networking/hans.nix
parent7c3501724a0cdebf9ce9f50f94cf6a203752a678 (diff)
downloadnixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar.gz
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar.bz2
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar.lz
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar.xz
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.tar.zst
nixpkgs-ce8f347ca8d69f606bbfeee44f74a5f05664b3cd.zip
nixos/hans, nixos/iodine: fix passwordFile attribute
Diffstat (limited to 'nixos/modules/services/networking/hans.nix')
-rw-r--r--nixos/modules/services/networking/hans.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/hans.nix b/nixos/modules/services/networking/hans.nix
index 56c30a6b96e..dd34ef8d4ca 100644
--- a/nixos/modules/services/networking/hans.nix
+++ b/nixos/modules/services/networking/hans.nix
@@ -131,7 +131,7 @@ in
         description = "hans, ip over icmp server daemon";
         after = [ "network.target" ];
         wantedBy = [ "multi-user.target" ];
-        script = "${pkgs.hans}/bin/hans -f -u ${hansUser} ${cfg.server.extraConfig} -s ${cfg.server.ip} ${optionalString cfg.server.respondToSystemPings "-r"} ${optionalString (cfg.passwordFile != "") "-p $(cat \"${cfg.passwordFile}\")"}";
+        script = "${pkgs.hans}/bin/hans -f -u ${hansUser} ${cfg.server.extraConfig} -s ${cfg.server.ip} ${optionalString cfg.server.respondToSystemPings "-r"} ${optionalString (cfg.server.passwordFile != "") "-p $(cat \"${cfg.server.passwordFile}\")"}";
       };
     };