summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2015-09-08 22:37:10 +0200
committerThomas Strobel <ts468@cam.ac.uk>2015-09-08 22:37:10 +0200
commitcb4bea5f9746ffbc92b389d3755e904ecd7f094f (patch)
treea66562004812dd32f6c0a7c4fc62e2148f9bee1f /nixos
parentb6fb7604846dfc5af2d5b999388e65c5bf43b3a0 (diff)
downloadnixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar.gz
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar.bz2
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar.lz
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar.xz
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.tar.zst
nixlib-cb4bea5f9746ffbc92b389d3755e904ecd7f094f.zip
namecoind nixos module: fix environment variable
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/namecoind.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/namecoind.nix b/nixos/modules/services/networking/namecoind.nix
index 7c7c700ab943..4851abc47481 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";