mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
21 lines
509 B
Nix
21 lines
509 B
Nix
{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";
|
|
};
|
|
}
|