This commit is contained in:
parent
b8559d8775
commit
f073c3232f
2 changed files with 6 additions and 5 deletions
|
@ -10,7 +10,9 @@ jobs:
|
||||||
ls -alh
|
ls -alh
|
||||||
nix-shell -p git
|
nix-shell -p git
|
||||||
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
|
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
|
||||||
|
exit
|
||||||
cd nixos-hypervisor
|
cd nixos-hypervisor
|
||||||
nix --experimental-features 'nix-command flakes' build .#nginx
|
nix-shell -p ssh-agents
|
||||||
echo "All set !"
|
eval $(ssh-agent -s)
|
||||||
|
ssh-add ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
ssh tbarnouin@192.168.1.40 echo "All set !"
|
||||||
|
|
|
@ -36,14 +36,13 @@
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILy03fJvfWQtzHgAdH0OPwwcGzdggyuPkveystyrm5+I tbarnouin@gitea-actions-runner"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1B0nxNMvPWSR9pStdtx2x6Iw+JUeCCt1CKWoD8dsr"
|
||||||
];
|
];
|
||||||
initialPassword = "test";
|
initialPassword = "test";
|
||||||
};
|
};
|
||||||
users.root = {
|
users.root = {
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILy03fJvfWQtzHgAdH0OPwwcGzdggyuPkveystyrm5+I tbarnouin@gitea-actions-runner"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue