Fix everything.

This commit is contained in:
Jimbo 2025-02-28 13:32:11 -05:00
parent 11075719cb
commit 3d25d316fe
118 changed files with 180 additions and 244 deletions

View file

@ -0,0 +1,9 @@
{ home-manager, ... }:
{
imports = [
./jules
./jimbo
home-manager.nixosModules.home-manager
];
}

View file

@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
{
users.users.jimbo = {
hashedPassword = config.secrets.mainAccPass;
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC2lMkUd+BbXITE5LTg94hEzmA6UKsIIbaf5YOjGoLzl"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIFGHaxdTeC1xnTx2BY5LLR5LxhdSkmYoWuOeEuRIz0k"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJahAoF74BY6GCTsFkt1ADKaraFgJJozW1Y1aBTLK0j9 Pixel9"
];
extraGroups = [
"wheel"
"input"
"disk"
"dialout"
"kvm"
"libvirtd"
"qemu-libvirtd"
"nginx"
"nfsShare"
];
uid = 1000;
shell = pkgs.zsh;
};
home-manager.users.jimbo = import ../../../../../home/jimbo;
}

View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
{
users.users.jules = {
hashedPassword = config.secrets.mainAccPass;
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHwxJcAWuHkKy/Ar37aIoqg34CDcZu7/bh978nYkOgzj jules@jules-pc"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOszCNP+6rkIS75GyFVhn9o6QpUuGdx/J4rjzROrpSl jules@xeta"
];
extraGroups = [
"wheel"
"input"
"disk"
"dialout"
"kvm"
"libvirtd"
"qemu-libvirtd"
"nginx"
"nfsShare"
];
uid = 1001;
shell = pkgs.fish;
};
#home-manager.users.jimbo = import ../../../../../home/jimbo;
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./custom
./system
];
users.mutableUsers = false;
}

View file

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

View file

@ -0,0 +1,12 @@
{ ... }:
{
users = {
users.jellyfin = {
group = "jellyfin";
extraGroups = [ "nfsShare" ];
isSystemUser = true;
uid = 983;
};
groups.jellyfin = {};
};
}

View file

@ -0,0 +1,12 @@
{ ... }:
{
users = {
users.liquidsoap = {
group = "liquidsoap";
extraGroups = [ "nginx" ];
isSystemUser = true;
uid = 155;
};
groups.liquidsoap = {};
};
}

View file

@ -0,0 +1,12 @@
{ ... }:
{
users = {
users.nextcloud = {
group = "nextcloud";
extraGroups = [ "nfsShare" ];
isSystemUser = true;
uid = 218;
};
groups.nextcloud = {};
};
}

View file

@ -0,0 +1,15 @@
{ ... }:
{
users = {
users.nginx = {
group = "nginx";
extraGroups = [
"turnserver"
"virtualMail"
];
isSystemUser = true;
uid = 60;
};
groups.nginx = {};
};
}