From cb4bea5f9746ffbc92b389d3755e904ecd7f094f Mon Sep 17 00:00:00 2001 From: Thomas Strobel Date: Tue, 8 Sep 2015 22:37:10 +0200 Subject: [PATCH] namecoind nixos module: fix environment variable --- nixos/modules/services/networking/namecoind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/namecoind.nix b/nixos/modules/services/networking/namecoind.nix index 7c7c700ab94..4851abc4748 100644 --- a/nixos/modules/services/networking/namecoind.nix +++ b/nixos/modules/services/networking/namecoind.nix @@ -115,7 +115,7 @@ in Type = "simple"; User = "namecoin"; EnvironmentFile = cfg.userFile; - ExecStart = "${pkgs.altcoins.namecoind}/bin/namecoind -conf=${namecoinConf} -rpcuser=$USER -rpcpassword=$PASSWORD -printtoconsole"; + ExecStart = "${pkgs.altcoins.namecoind}/bin/namecoind -conf=${namecoinConf} -rpcuser=\${USER} -rpcpassword=\${PASSWORD} -printtoconsole"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; ExecStop = "${pkgs.coreutils}/bin/kill -KILL $MAINPID"; StandardOutput = "null";