woop woop got auth working in caddy, now figuring out oidc

This commit is contained in:
Chris Kruining 2025-04-01 23:47:49 +02:00
parent 9793f795ee
commit 100923f290
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
5 changed files with 84 additions and 32 deletions

View file

@ -2,32 +2,34 @@
{
imports = [ ./hardware.nix ];
fileSystems."/var/media" = {
device = "/dev/disk/by-label/data";
fsType = "ext4";
};
modules = {
networking.ssh.enable = true;
services = {
auth.enable = true;
media.enable = true;
# nextcloud.enable = true;
games = {
minecraft.enable = true;
};
config = {
fileSystems."/var/media" = {
device = "/dev/disk/by-label/data";
fsType = "ext4";
};
root = {
user = {
full_name = "__ROOT__";
email = "__ROOT__@${config.networking.hostName}";
modules = {
networking.ssh.enable = true;
services = {
auth.enable = true;
media.enable = true;
# nextcloud.enable = true;
games = {
minecraft.enable = true;
};
};
shell = {
default = "zsh";
root = {
user = {
full_name = "__ROOT__";
email = "__ROOT__@${config.networking.hostName}";
};
shell = {
default = "zsh";
};
};
};
};