mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 19:42:24 +00:00
Compare commits
5 Commits
f50bbeba94
...
316439dc9a
Author | SHA1 | Date | |
---|---|---|---|
|
316439dc9a | ||
|
edaf95cc1c | ||
|
5f867fa2dd | ||
|
bdaf63da20 | ||
|
c12d54314e |
4
.github/workflows/arrow.yml
vendored
4
.github/workflows/arrow.yml
vendored
@ -123,10 +123,12 @@ 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 -o StrictHostKeyChecking=accept-new noah@${{ steps.host.outputs.stdout }} 'mkdir -pv .ssh'
|
ssh -i deploy_ed25519 -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,6 +20,10 @@
|
|||||||
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,6 +78,10 @@ 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