What a clusterfuck

This commit is contained in:
Jimbo 2024-10-09 03:36:08 -04:00
parent 91f88b8bb2
commit f29273be22
221 changed files with 779 additions and 956 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,29 @@
{ 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 @@
{ ... }:
{
users.users = {
nextcloud = {
extraGroups = [ "nginx" ];
isSystemUser = true;
};
};
}

View file

@ -0,0 +1,8 @@
{ ... }: {
users.users = {
nextcloud = {
extraGroups = [ "nfsShare" ];
isSystemUser = true;
};
};
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
users.users = {
nginx = {
extraGroups = [ "turnserver" "virtualMail" ];
isSystemUser = true;
};
};
}