Skip to content

Commit 5938d80

Browse files
committed
Move user definition from options.nix to args.nix
This is intended to make this more consistent with other examples in this repo.
1 parent 13d5456 commit 5938d80

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/geth/args.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ with lib; {
174174
description = "Maximum peers to connect to.";
175175
};
176176

177+
user = mkOption {
178+
type = types.nullOr types.str;
179+
default = null;
180+
description = "User to run the service as.";
181+
};
182+
177183
datadir = mkOption {
178184
type = types.nullOr types.str;
179185
default = null;

modules/geth/options.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
options = rec {
1010
enable = mkEnableOption "Go Ethereum Node";
1111

12-
user = mkOption {
13-
type = types.nullOr types.str;
14-
default = null;
15-
description = "User to run the service as.";
16-
};
17-
1812
inherit args;
1913

2014
extraArgs = mkOption {

0 commit comments

Comments
 (0)