nixos/rippled: define group, fix eval after #133166
This commit is contained in:
parent
a654d779fe
commit
feeca7dd55
|
@ -153,7 +153,7 @@ in
|
||||||
#btsync = 113; # unused
|
#btsync = 113; # unused
|
||||||
#minecraft = 114; #dynamically allocated as of 2021-09-03
|
#minecraft = 114; #dynamically allocated as of 2021-09-03
|
||||||
vault = 115;
|
vault = 115;
|
||||||
rippled = 116;
|
# rippled = 116; #dynamically allocated as of 2021-09-18
|
||||||
murmur = 117;
|
murmur = 117;
|
||||||
foundationdb = 118;
|
foundationdb = 118;
|
||||||
newrelic = 119;
|
newrelic = 119;
|
||||||
|
|
|
@ -407,12 +407,14 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
users.users.rippled =
|
users.users.rippled = {
|
||||||
{ description = "Ripple server user";
|
description = "Ripple server user";
|
||||||
uid = config.ids.uids.rippled;
|
isSystemUser = true;
|
||||||
|
group = "rippled";
|
||||||
home = cfg.databasePath;
|
home = cfg.databasePath;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
|
users.groups.rippled = {};
|
||||||
|
|
||||||
systemd.services.rippled = {
|
systemd.services.rippled = {
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
|
Loading…
Reference in a new issue