forked from mirrors/nixpkgs
nixos/paperless: don't use deprecated types.loaOf
This removes a warning.
This commit is contained in:
parent
28e98fdfbc
commit
5ad5d2321f
|
@ -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;
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue