remove various references to ${username}
This commit is contained in:
parent
31b4d7e80d
commit
dd18bd1e6d
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
service_configs,
|
service_configs,
|
||||||
username,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
@ -88,8 +87,4 @@ in
|
|||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
service_configs.ports.https
|
service_configs.ports.https
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
|
||||||
config.services.caddy.group
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
service_configs,
|
service_configs,
|
||||||
username,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@ -60,8 +59,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.openssh.settings.AllowUsers = [ config.services.gitea.user ];
|
services.openssh.settings.AllowUsers = [ config.services.gitea.user ];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
|
||||||
config.services.gitea.group
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
service_configs,
|
service_configs,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
username,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@ -41,8 +40,4 @@
|
|||||||
"video"
|
"video"
|
||||||
"render"
|
"render"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
|
||||||
config.services.immich.group
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
service_configs,
|
service_configs,
|
||||||
username,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@ -41,8 +40,4 @@
|
|||||||
"render"
|
"render"
|
||||||
service_configs.media_group
|
service_configs.media_group
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
|
||||||
config.services.jellyfin.group
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
service_configs,
|
service_configs,
|
||||||
lib,
|
lib,
|
||||||
username,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
username,
|
|
||||||
service_configs,
|
service_configs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
@ -22,8 +21,4 @@
|
|||||||
# postgresql requires 0700
|
# postgresql requires 0700
|
||||||
"Z ${config.services.postgresql.dataDir} 0700 postgresql postgresql"
|
"Z ${config.services.postgresql.dataDir} 0700 postgresql postgresql"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
|
||||||
"postgresql"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
service_configs,
|
service_configs,
|
||||||
username,
|
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user