From 9f886ce51fa7237d3a774ae31594ff44bfc83874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sun, 14 Aug 2022 20:25:12 +0200 Subject: [PATCH] Working drone-exec-runner --- hosts/chocolatebar/chocolatebar.nix | 1 + secrets/drone-runner-exec-config | Bin 0 -> 2535 bytes secrets/secrets.nix | 2 ++ users/ben/home.nix | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 secrets/drone-runner-exec-config diff --git a/hosts/chocolatebar/chocolatebar.nix b/hosts/chocolatebar/chocolatebar.nix index eb6efd77..a61e4c9d 100644 --- a/hosts/chocolatebar/chocolatebar.nix +++ b/hosts/chocolatebar/chocolatebar.nix @@ -37,6 +37,7 @@ in owner = psCfg.user.name; }; pub-solar.sway.vnc.enable = true; + pub-solar.ci-runner.enable = true; home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable { "sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf; diff --git a/secrets/drone-runner-exec-config b/secrets/drone-runner-exec-config new file mode 100644 index 0000000000000000000000000000000000000000..0b7e2e90f9870e3a7e0d2c45b6afe91bfe3c335e GIT binary patch literal 2535 zcmXw)NeCnd6^4ZvBb5->@sNX#9>h?NU29jBprO{TrMvc}t0HQ3cWvFZuicef2#6xV z1wD9B5fMBHA!uACn2=!1ArOtrB@kmYIT$dWjHnT34s&~#_x{8CKK?L?u0`d(z0`eH zm7l2EWHG|PwNGE|y7XGxg;!4kXF)U|>V_0J#;nnj92#qMSQUa&d0vTT@}~9rbs1My z5z_l3eUiZJm^)=kxGKE{k>x^FQs4+{aEM#M*|eLKhx`j!$0v0Xy5Q8Tt4SYQXV}T- zxTsqh-4h&mtfR!A)Nm0DQ@h>+3?Z-2J6@PIWCN01jA$ytod$bd5xd&o#M^U~pfkME zRdg(Bn!e!6Ehgb7C(7bJ;d`JFr~wvv@t96kgid&R#E&Fohf9{WRyj@+5W^f77F+O~ zm}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gl!>(BiBmA`H8yYd0sJ$?TN)bOSy-|-dfXNQk|`w9HR?|kx= zJKuZd`5*nVedvYTZcoPU`R1P6o|vC^U24J*B<=X zz51;mzUQC+z4y7-{}BE9Ge7y% literal 0 HcmV?d00001 diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 65b6ed99..dbd43e37 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -42,5 +42,7 @@ in "vnc-cert-chocolatebar.pem".publicKeys = chocolatebarKeys; "vnc-key-chocolatebar.pem".publicKeys = chocolatebarKeys; + "drone-runner-exec-config".publicKeys = allKeys; + "mopidy.conf".publicKeys = allKeys; } diff --git a/users/ben/home.nix b/users/ben/home.nix index 0aff38a7..2298431d 100644 --- a/users/ben/home.nix +++ b/users/ben/home.nix @@ -97,7 +97,7 @@ in mode = "700"; owner = "mopidy"; }; - services.mopidy.extraConfigFiles = [ "/run/secrets/mopidy.conf" ]; + services.mopidy.extraConfigFiles = [ "/run/agenix/mopidy.conf" ]; programs.ssh.extraConfig = " PubkeyAcceptedKeyTypes +ssh-rsa