Skip to content

Commit 9380bd8

Browse files
committed
Fix user option
1 parent 41fa0d2 commit 9380bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/geth/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ in {
123123
baseServiceConfig
124124
{
125125
User =
126-
if cfg.user != null
127-
then cfg.user
126+
if cfg.args.user != null
127+
then cfg.args.user
128128
else mkDefault serviceName;
129129
StateDirectory = mkDefault serviceName;
130130
ExecStart = mkDefault "${cfg.package}/bin/geth ${scriptArgs}";

0 commit comments

Comments
 (0)