mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-25 07:22:23 +00:00
Compare commits
No commits in common. "316439dc9a90b02036c664f4053d13dedce69f24" and "f50bbeba94332af6a2d28721c5221aa793d207d4" have entirely different histories.
316439dc9a
...
f50bbeba94
4
.github/workflows/arrow.yml
vendored
4
.github/workflows/arrow.yml
vendored
@ -123,12 +123,10 @@ jobs:
|
|||||||
if: inputs.action == 'create'
|
if: inputs.action == 'create'
|
||||||
run: |
|
run: |
|
||||||
echo "${{ env.DEPLOY_IDENTITY_BASE64 }}" | base64 -d > deploy_ed25519
|
echo "${{ env.DEPLOY_IDENTITY_BASE64 }}" | base64 -d > deploy_ed25519
|
||||||
chmod 0600 deploy_ed25519
|
|
||||||
echo "${{ env.ARROW_IDENTITY_BASE64 }}" | base64 -d > arrow_ed25519
|
echo "${{ env.ARROW_IDENTITY_BASE64 }}" | base64 -d > arrow_ed25519
|
||||||
chmod 0600 arrow_ed25519
|
|
||||||
|
|
||||||
- name: Copy Identity File to Host
|
- name: Copy Identity File to Host
|
||||||
if: inputs.action == 'create'
|
if: inputs.action == 'create'
|
||||||
run: |
|
run: |
|
||||||
ssh -i deploy_ed25519 -o StrictHostKeyChecking=accept-new noah@${{ steps.host.outputs.stdout }} 'mkdir -pv .ssh'
|
ssh -o StrictHostKeyChecking=accept-new noah@${{ steps.host.outputs.stdout }} 'mkdir -pv .ssh'
|
||||||
scp -i deploy_ed25519 arrow_ed25519 noah@${{ steps.host.outputs.stdout }}:~/.ssh/id_ed25519
|
scp -i deploy_ed25519 arrow_ed25519 noah@${{ steps.host.outputs.stdout }}:~/.ssh/id_ed25519
|
||||||
|
@ -20,10 +20,6 @@
|
|||||||
services.caddy.enable = true;
|
services.caddy.enable = true;
|
||||||
services.transmission.enable = true;
|
services.transmission.enable = true;
|
||||||
|
|
||||||
# nix-index seems to each up too much memory for Vultr
|
|
||||||
home-manager.users.${globals.user}.programs.nix-index.enable =
|
|
||||||
inputs.nixpkgs.lib.mkForce false;
|
|
||||||
|
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
virtualisation.forwardPorts = [{
|
virtualisation.forwardPorts = [{
|
||||||
from = "host";
|
from = "host";
|
||||||
|
@ -78,10 +78,6 @@ in {
|
|||||||
owner = "caddy";
|
owner = "caddy";
|
||||||
group = "caddy";
|
group = "caddy";
|
||||||
};
|
};
|
||||||
systemd.services.cloudflare-api-secret.serviceConfig.ExecStartPost = ''
|
|
||||||
/run/current-system/sw/bin/systemctl restart caddy.service
|
|
||||||
/run/current-system/sw/bin/systemctl restart cloudflare-dyndns.service
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Wait for secret to exist
|
# Wait for secret to exist
|
||||||
systemd.services.caddy = {
|
systemd.services.caddy = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user