diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 3b56e78..a3b6251 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -10,7 +10,9 @@ jobs: ls -alh nix-shell -p git git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor + exit cd nixos-hypervisor - nix --experimental-features 'nix-command flakes' build .#nginx - echo "All set !" - + nix-shell -p ssh-agents + eval $(ssh-agent -s) + ssh-add ${{ secrets.SSH_PRIVATE_KEY }} + ssh tbarnouin@192.168.1.40 echo "All set !" diff --git a/services/minimalConfig/default.nix b/services/minimalConfig/default.nix index 061b33a..96b90f2 100644 --- a/services/minimalConfig/default.nix +++ b/services/minimalConfig/default.nix @@ -36,14 +36,13 @@ shell = pkgs.zsh; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILy03fJvfWQtzHgAdH0OPwwcGzdggyuPkveystyrm5+I tbarnouin@gitea-actions-runner" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1B0nxNMvPWSR9pStdtx2x6Iw+JUeCCt1CKWoD8dsr" ]; initialPassword = "test"; }; users.root = { openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILy03fJvfWQtzHgAdH0OPwwcGzdggyuPkveystyrm5+I tbarnouin@gitea-actions-runner" ]; }; };