3
0
Fork 0
forked from mirrors/nixpkgs

nixos/paperless: don't use deprecated types.loaOf

This removes a warning.
This commit is contained in:
Erik Arvstedt 2020-01-10 22:00:08 +01:00 committed by Alyssa Ross
parent 28e98fdfbc
commit 5ad5d2321f

View file

@ -169,17 +169,15 @@ in
};
users = optionalAttrs (cfg.user == defaultUser) {
users = [{
name = defaultUser;
users.${defaultUser} = {
group = defaultUser;
uid = config.ids.uids.paperless;
home = cfg.dataDir;
}];
};
groups = [{
name = defaultUser;
groups.${defaultUser} = {
gid = config.ids.gids.paperless;
}];
};
};
};
}