Home

infra @main - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
tree log patch
add oidc-playground Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQGFgAEWdh6enC5so9z//xubdvbvy94LbOqpK0jA/1Qz6sHemwrpFJSs9TrLn1vJOsL b9IS4UguDlgiubwCd5UAI= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
3 weeks ago
4 changed files, 65 additions(+), 13 deletions(-)
flake.lockflake.nixshincha/default.nixshincha/oidc.nix
M flake.lockflake.lock
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
diff --git a/flake.lock b/flake.lock
index d55bd20aaa37b2420ae0a896578f3e2b6c976cbc..4fb5eb36432fd6971161eb6a0d91708fbb6eefb0 100644
--- a/flake.lock
+++ b/flake.lock
@@ -402,6 +402,22 @@       }
     },
     "nixpkgs_12": {
       "locked": {
+        "lastModified": 1752012998,
+        "narHash": "sha256-Q82Ms+FQmgOBkdoSVm+FBpuFoeUAffNerR5yVV7SgT8=",
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "2a2130494ad647f953593c4e84ea4df839fbd68c",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nixos",
+        "ref": "nixpkgs-unstable",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
+    "nixpkgs_13": {
+      "locked": {
         "lastModified": 1697383814,
         "narHash": "sha256-NoGJsi8R4GyQX6GHJS9lIXyrbrybqyqA8v6HVixHs5E=",
         "owner": "nixos",
@@ -415,7 +431,7 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
-    "nixpkgs_13": {
+    "nixpkgs_14": {
       "locked": {
         "lastModified": 1729665710,
         "narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=",
@@ -431,7 +447,7 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
-    "nixpkgs_14": {
+    "nixpkgs_15": {
       "locked": {
         "lastModified": 1743583204,
         "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
@@ -446,7 +462,7 @@         "ref": "nixos-unstable",
         "type": "indirect"
       }
     },
-    "nixpkgs_15": {
+    "nixpkgs_16": {
       "locked": {
         "lastModified": 1736241350,
         "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=",
@@ -462,7 +478,7 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
-    "nixpkgs_16": {
+    "nixpkgs_17": {
       "locked": {
         "lastModified": 1747060738,
         "narHash": "sha256-ByfPRQuqj+nhtVV0koinEpmJw0KLzNbgcgi9EF+NVow=",
@@ -478,7 +494,7 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
-    "nixpkgs_17": {
+    "nixpkgs_18": {
       "locked": {
         "lastModified": 1695806987,
         "narHash": "sha256-fX5kGs66NZIxCMcpAGIpxuftajHL8Hil1vjHmjjl118=",
@@ -494,7 +510,7 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
-    "nixpkgs_18": {
+    "nixpkgs_19": {
       "locked": {
         "lastModified": 1699343069,
         "narHash": "sha256-s7BBhyLA6MI6FuJgs4F/SgpntHBzz40/qV0xLPW6A1Q=",
@@ -636,10 +652,28 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
+    "oidc": {
+      "inputs": {
+        "nixpkgs": "nixpkgs_12"
+      },
+      "locked": {
+        "lastModified": 1752529116,
+        "narHash": "sha256-gqpQ9Bm3CLJzQKpDyepArECW8LvrMHaQmd9p3eH6m1Y=",
+        "ref": "refs/heads/main",
+        "rev": "123af8cc2c47cd0feb2de7add5655d02b3158bb0",
+        "revCount": 6,
+        "type": "git",
+        "url": "https://git.jolheiser.com/oidc.git"
+      },
+      "original": {
+        "type": "git",
+        "url": "https://git.jolheiser.com/oidc.git"
+      }
+    },
     "resume": {
       "inputs": {
         "flake-utils": "flake-utils_2",
-        "nixpkgs": "nixpkgs_12"
+        "nixpkgs": "nixpkgs_13"
       },
       "locked": {
         "lastModified": 1697473034,
@@ -671,6 +705,7 @@         "home-manager": "home-manager",
         "mazanoke": "mazanoke",
         "nixos-hardware": "nixos-hardware",
         "nixpkgs": "nixpkgs_11",
+        "oidc": "oidc",
         "resume": "resume",
         "tailproxy": "tailproxy",
         "tclip": "tclip",
@@ -755,7 +790,7 @@       }
     },
     "tailproxy": {
       "inputs": {
-        "nixpkgs": "nixpkgs_13"
+        "nixpkgs": "nixpkgs_14"
       },
       "locked": {
         "lastModified": 1740421538,
@@ -815,7 +850,7 @@       }
     },
     "tailwind-ctp-lsp_2": {
       "inputs": {
-        "nixpkgs": "nixpkgs_18"
+        "nixpkgs": "nixpkgs_19"
       },
       "locked": {
         "lastModified": 1699401590,
@@ -833,7 +868,7 @@       }
     },
     "tailwind-ctp_2": {
       "inputs": {
-        "nixpkgs": "nixpkgs_17"
+        "nixpkgs": "nixpkgs_18"
       },
       "locked": {
         "lastModified": 1695841587,
@@ -851,7 +886,7 @@       }
     },
     "tclip": {
       "inputs": {
-        "nixpkgs": "nixpkgs_14",
+        "nixpkgs": "nixpkgs_15",
         "utils": "utils"
       },
       "locked": {
@@ -870,7 +905,7 @@       }
     },
     "ugit": {
       "inputs": {
-        "nixpkgs": "nixpkgs_15",
+        "nixpkgs": "nixpkgs_16",
         "tailwind-ctp": "tailwind-ctp",
         "tailwind-ctp-lsp": "tailwind-ctp-lsp"
       },
@@ -908,7 +943,7 @@       }
     },
     "website": {
       "inputs": {
-        "nixpkgs": "nixpkgs_16",
+        "nixpkgs": "nixpkgs_17",
         "tailwind-ctp": "tailwind-ctp_2",
         "tailwind-ctp-lsp": "tailwind-ctp-lsp_2"
       },
M flake.nixflake.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/flake.nix b/flake.nix
index d4bf99c73982453ad27c35186d2def722bc8735d..942d80cc13fc5528317a4a77eb922b0f9bab1c1b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,6 +19,7 @@     git-age.url = "git+https://git.jolheiser.com/git-age.git";
     cfg-playground.url = "git+https://git.jolheiser.com/cfg-playground.git";
     ugit.url = "git+https://git.jolheiser.com/ugit.git";
     git-pr.url = "git+https://git.jolheiser.com/git-pr-nix.git";
+    oidc.url = "git+https://git.jolheiser.com/oidc.git";
     # Other flakes
     golink.url = "github:tailscale/golink";
     tclip.url = "github:tailscale-dev/tclip";
@@ -97,6 +98,7 @@               inputs.golink.nixosModules.default
               inputs.cfg-playground.nixosModules.default
               inputs.mazanoke.nixosModules.default
               inputs.tailproxy.nixosModules.default
+              inputs.oidc.nixosModules.default
               ./modules/tclip
               ./shincha
               beszelHub
M shincha/default.nixshincha/default.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
diff --git a/shincha/default.nix b/shincha/default.nix
index 3803d44daa505644407452167719b4857c04f55d..27364a6479942c44d2490b6ae1e04f1d8f90d12d 100644
--- a/shincha/default.nix
+++ b/shincha/default.nix
@@ -8,6 +8,7 @@     ./beszel.nix
     ./cfg.nix
     ./golink.nix
     ./mazanoke.nix
+    ./oidc.nix
     ./tclip.nix
     ./hardware.nix
   ];
I shincha/oidc.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/shincha/oidc.nix b/shincha/oidc.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5e32e51e8a5fa9232b4f5d65de28d87763778245
--- /dev/null
+++ b/shincha/oidc.nix
@@ -0,0 +1,14 @@
+{
+  services = {
+    oidc-playground = {
+      enable = true;
+      origin = "https://oidc";
+    };
+    tailproxy.oidc-playground = {
+      enable = true;
+      hostname = "oidc";
+      authKey = "tskey-auth-kkFJ2NFkCX11CNTRL-Doq9XTGfm9Vxn8nb6QQU9VjmAh6ZFgih"; # One-time key
+      port = 6432;
+    };
+  };
+}