mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: litterbox 2, remove users
This commit is contained in:
parent
e0fe5bcd6f
commit
bc8ed413d0
5 changed files with 97 additions and 47 deletions
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}: {
|
||||
config.users = {
|
||||
users.connieallure = {name, ...}: {
|
||||
uid = 8003;
|
||||
isNormalUser = true;
|
||||
autoSubUidGidRange = false;
|
||||
group = name;
|
||||
extraGroups = [
|
||||
"users"
|
||||
"peeps"
|
||||
"kyuuto"
|
||||
];
|
||||
};
|
||||
groups.connieallure = {name, ...}: {
|
||||
gid = config.users.users.${name}.uid;
|
||||
};
|
||||
};
|
||||
config.${
|
||||
if options ? networking.firewall
|
||||
then "networking"
|
||||
else null
|
||||
} = {
|
||||
access.peeps.ranges.connieallure = "2604:3d00::/28";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{config, ...}: {
|
||||
users.users.kaosubaloo = {name, ...}: {
|
||||
uid = 8002;
|
||||
isNormalUser = true;
|
||||
autoSubUidGidRange = false;
|
||||
group = name;
|
||||
extraGroups = [
|
||||
"users"
|
||||
"peeps"
|
||||
"kyuuto"
|
||||
"steamaccount"
|
||||
"beatsaber"
|
||||
];
|
||||
};
|
||||
users.groups.kaosubaloo = {name, ...}: {
|
||||
gid = config.users.users.${name}.uid;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue