mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(keycloak): add, broken
This commit is contained in:
parent
e63304937d
commit
7ff72a29ab
6 changed files with 223 additions and 0 deletions
8
systems/keycloak/default.nix
Normal file
8
systems/keycloak/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
_: {
|
||||
arch = "x86_64";
|
||||
type = "NixOS";
|
||||
modules = [
|
||||
./nixos.nix
|
||||
];
|
||||
access.tailscale.enable = true;
|
||||
}
|
||||
25
systems/keycloak/nixos.nix
Normal file
25
systems/keycloak/nixos.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{meta, ...}: {
|
||||
imports = let
|
||||
inherit (meta) nixos;
|
||||
in [
|
||||
#nixos.sops
|
||||
nixos.base
|
||||
nixos.reisen-ct
|
||||
nixos.keycloak
|
||||
];
|
||||
|
||||
#sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
||||
systemd.network.networks.eth0 = {
|
||||
name = "eth0";
|
||||
matchConfig = {
|
||||
MACAddress = "BC:24:11:C4:66:AC";
|
||||
Type = "ether";
|
||||
};
|
||||
address = ["10.1.1.48/24"];
|
||||
gateway = ["10.1.1.1"];
|
||||
DHCP = "no";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue