Push these changes to a branch cause I'm kind of giving up

This commit is contained in:
Jimbo 2024-10-07 11:42:34 -04:00
parent d9469fc321
commit e3bacb2d84
229 changed files with 1496 additions and 1479 deletions

View file

@ -0,0 +1,6 @@
{ ... }: {
imports = [
./users
./groups
];
}

View file

@ -0,0 +1,5 @@
{ ... }: {
imports = [
./nfsShare
];
}

View file

@ -0,0 +1,3 @@
{ ... }: {
users.groups.nfsShare = {};
}

View file

@ -0,0 +1,8 @@
{ ... }: {
imports = [
./jimbo
./liquidsoap
./nextcloud
./nginx
];
}

View file

@ -0,0 +1,28 @@
{ pkgs, outputs, ... }: {
users.users = {
jimbo = {
description = "Jimbo";
hashedPassword = outputs.secrets.jimboAccPass;
isNormalUser = true;
openssh.authorizedKeys.keys = outputs.secrets.jimKeys;
extraGroups = [
"wheel"
"audio"
"video"
"input"
"disk"
"dialout"
"networkmanager"
"rtkit"
"kvm"
"libvirtd"
"qemu-libvirtd"
"nginx"
"minecraft"
"nfsShare"
];
uid = 1000;
shell = pkgs.zsh;
};
};
}

View file

@ -0,0 +1,9 @@
{
# Add service users to extra groups
users.users = {
nextcloud = {
extraGroups = [ "nginx" ];
isSystemUser = true;
};
};
}

View file

@ -0,0 +1,9 @@
{
# Add service users to extra groups
users.users = {
nextcloud = {
extraGroups = [ "nfsShare" ];
isSystemUser = true;
};
};
}

View file

@ -0,0 +1,9 @@
{
# Add service users to extra groups
users.users = {
nginx = {
extraGroups = [ "turnserver" "virtualMail" ];
isSystemUser = true;
};
};
}