nixos/monero: use isSystemUser = true
This commit is contained in:
parent
ff65166f44
commit
c0853b6e2c
2 changed files with 5 additions and 6 deletions
|
@ -315,7 +315,7 @@ in
|
|||
restya-board = 284;
|
||||
mighttpd2 = 285;
|
||||
hass = 286;
|
||||
monero = 287;
|
||||
#monero = 287; # dynamically allocated as of 2021-05-08
|
||||
ceph = 288;
|
||||
duplicati = 289;
|
||||
monetdb = 290;
|
||||
|
@ -617,7 +617,7 @@ in
|
|||
restya-board = 284;
|
||||
mighttpd2 = 285;
|
||||
hass = 286;
|
||||
monero = 287;
|
||||
# monero = 287; # dynamically allocated as of 2021-05-08
|
||||
ceph = 288;
|
||||
duplicati = 289;
|
||||
monetdb = 290;
|
||||
|
|
|
@ -205,15 +205,14 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
|
||||
users.users.monero = {
|
||||
uid = config.ids.uids.monero;
|
||||
isSystemUser = true;
|
||||
group = "monero";
|
||||
description = "Monero daemon user";
|
||||
home = cfg.dataDir;
|
||||
createHome = true;
|
||||
};
|
||||
|
||||
users.groups.monero = {
|
||||
gid = config.ids.gids.monero;
|
||||
};
|
||||
users.groups.monero = { };
|
||||
|
||||
systemd.services.monero = {
|
||||
description = "monero daemon";
|
||||
|
|
Loading…
Reference in a new issue