wip uid/gid mapping
This commit is contained in:
@@ -32,6 +32,9 @@ let
|
||||
pytensorflow = pkgs.python3.withPackages (ps: [ ps.tensorflow ]);
|
||||
cfg = config.my.servers.nextcloud;
|
||||
cfgC = config.my.servers.collabora;
|
||||
id = 990;
|
||||
gid = id;
|
||||
uid = id;
|
||||
in
|
||||
{
|
||||
options.my.servers = {
|
||||
@@ -48,8 +51,11 @@ in
|
||||
"nodejs-14.21.3"
|
||||
"openssl-1.1.1v"
|
||||
];
|
||||
users.groups.nextcloud.gid = { inherit gid; };
|
||||
users.users.nextcloud = {
|
||||
inherit uid;
|
||||
isSystemUser = true;
|
||||
group = "nextcloud";
|
||||
extraGroups = [ "render" ];
|
||||
packages = builtins.attrValues {
|
||||
inherit exiftool pytensorflow;
|
||||
|
||||
Reference in New Issue
Block a user