dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmX3NucACgkQuFOtpdp7
v3r3thAAktNSSe2pNRG0TIZ+g7JhicgHUvzbHAQ3BjMLgapAzaHKcVncJFquXj+Y
xmNLNrE2YjuiyXnbYVehptvzbzY3mVRR4OUySRfQIvjrmrmK9Y/T3cKKPp3jsk8t
1z4lqSD99N3aGafOdg+qWt6Y46z06Q38IjWj5YOSaSHhu2cxYdzbj3aHU8vbzdnq
VCQl4icK5nCaVHBwtFwLqEI6uVFaysA/iTgiUIxwTZRAr8jLe7m9ow0/rLB76mJ1
dRj/HivBylUT6+HLKG5Vzg7t+CgBJ2RtYlysL8tFaPGl/pZeYleLYZCHAkIFYpFP
uemHATtkcTK6cyMypICJHofBepTeMoyiAtE1ZleRzksVLIztvHYBBmKsNyqyTJsv
ZECXWyU/NicKDpb7uBGPAhCoNFSk1O2TH8zE26cDRh3iMcC3JPoxHLXaK9PP5wl4
3q+wKA2d3kxhPZS9PfRq5minWpOFfUeY5B4vjjWgR9ol3lpr7gY4vnlpGxcSBYVb
rzLaNsKCq4dh0FU138JRdbQ57/r6PIlWGXLIIa2JG0C0tS2eJE6NKUFydVIjYejB
xDcZVIqBkqQXEMuAspdu1iFt+JBIZ7bkrdL74fFKTK435NNdsU19wwPPAJ6RVyyD
b6EutYsZcbenRzMPQk+E6HAvzO165tE5Xx1MXqifwFxBh0bqcBY=
=x/KJ
-----END PGP SIGNATURE-----
diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix
index 5169210a8785e39d2131179a12145e1e83957ab3..ab46971757fa3afd732523bebdb787905c57c50c 100644
--- a/machines/dragonwell/caddy.nix
+++ b/machines/dragonwell/caddy.nix
@@ -59,6 +59,12 @@ reverse_proxy localhost:2884
'';
};
virtualHosts = {
+ handle_path /.well-known/webfinger {
+ extraConfig = ''
+ reverse_proxy localhost:2423
+ '';
+ };
+ virtualHosts = {
virtualHosts = {
};
}
diff --git a/machines/dragonwell/default.nix b/machines/dragonwell/default.nix
index dc6edda73bf53169d7415c76a360d0fbcf5eb0d5..c486c4d7f8e758fe274e07b8b300bf64d734a7b2 100644
--- a/machines/dragonwell/default.nix
+++ b/machines/dragonwell/default.nix
@@ -2,7 +2,7 @@ let
username = "jolheiser";
key = ''ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfKqCWtDlS3tgvfT6hQN+ii8UtabIZ+ZNmYN+bLwIa8PHOEW5MbfaqXSlhKkSi4+7SfQDCHphw0SMfhsQ4qMEcoywZ+4niDgKlQEVkl+S/VGbLuPe92NRStkyreZBLPr3Rh7ScNlGHcmHmoV9v7725fMnsMmabGVhpGO84PwNHOfJyv2tx2h6LxFbAV8S44UQu2lc8YLWCK2UvKuRnBerBXLnDQThUUX8UuCFzb786gQzD5XDU0MENbByxiy0XdVGAC+tFXEiSIgFZlFbFYyShgdTP9MzX2MOglEi+ae+1UIFncraW7ptUey7qHFJylpHWWWvE+GTwsg2G50i0FvFj jolheiser@jolheiser'';
in {
- imports = [./caddy.nix ./dex.nix ./golink.nix ./gotosocial.nix ./restic.nix ./ugit.nix ./hardware.nix];
+ imports = [./caddy.nix ./dex.nix ./golink.nix ./gotosocial.nix ./jenkins.nix ./restic.nix ./ugit.nix ./hardware.nix];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
diff --git a/machines/dragonwell/jenkins.nix b/machines/dragonwell/jenkins.nix
new file mode 100644
index 0000000000000000000000000000000000000000..d9b4d67424a844332b673a96bd10a28c5b923eff
--- /dev/null
+++ b/machines/dragonwell/jenkins.nix
@@ -0,0 +1,23 @@
+{config, ...}: {
+ age.secrets.jenkins.file = ../../secrets/personal/jenkins.age;
+ services.jenkins = {
+ enable = true;
+ listenAddress = "localhost";
+ port = 2423;
+ jobBuilder = {
+ accessTokenFile = config.age.secrets.jenkins.path;
+ nixJobs = [
+ {
+ job = {
+ name = "echo";
+ builders = [
+ {
+ shell = "echo 'Hello, world!'";
+ }
+ ];
+ };
+ }
+ ];
+ };
+ };
+}
diff --git a/secrets/personal/jenkins.age b/secrets/personal/jenkins.age
new file mode 100644
index 0000000000000000000000000000000000000000..285b673932dc38141911ee455ecddf9a2c442379
--- /dev/null
+++ b/secrets/personal/jenkins.age
@@ -0,0 +1,11 @@
+age-encryption.org/v1
+-> ssh-ed25519 E8j6/g AJiLqqUpu/SLAFvz6EXvZ6o1PXa1DrcBjf94gpEFq10
+ZYHjqsJ8tVer0YlJvJ11XQYx6P8FlB5Nj8Gr4BYZlCw
+-> ssh-ed25519 f31uNA 0iFxySw9nqD6uhCyFTND0cNLAWnAcKVDhbP5dzizXGk
+lr/gjZxUP0Ta8cRw24Zf26TLQmw+fRlElPqZvXR5d9g
+-> @>-grease
+0Y9PU1g/9/KPNt0XjFcHHsL36Txo/gKyedRC524UAu/OpX6Ob8TDN1DOKvlG9HQN
+cmcvJ5sKHDfh0MCef1FnZM2vhSxINm/WE2AYpjs
+--- 6RV0T/JXRFKZDzFFtqFTjLIdZTETLW6MVRcuHqz5tkw
+� � 6C�W�J\�?0��/;®I� �Ϭp
+�����׃�j�U�Q����h��
\ No newline at end of file
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index ae3e5b2acce8e5e2dc5fa5fe3cdb473e1a65aae4..327e423892416eb63d6b7be0a4c2963bd646bfc1 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -26,4 +26,6 @@ "personal/restic-repo.age".publicKeys = [jolheiser dragonwell];
"personal/dex.age".publicKeys = [jolheiser dragonwell];
"personal/dex-tailscale.age".publicKeys = [jolheiser dragonwell];
jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS";
+
+ jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS";
dragonwell = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN32Cwxer2AOGvEqSqXSPp49gj1VtR7G2XmPnmXj6o53";