woop woop got auth working in caddy, now figuring out oidc
This commit is contained in:
parent
9793f795ee
commit
100923f290
5 changed files with 84 additions and 32 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue