Test
Some checks failed
ssh-test / ssh-test (push) Failing after 52s

This commit is contained in:
iFargle 2023-12-10 18:54:57 +09:00
parent 35ef02a57b
commit a6ac2a4890
2 changed files with 25 additions and 5 deletions

View file

@ -209,3 +209,19 @@ Completed ToDo List [here](docs/complete.md)
* https://github.com/Pipshag/dotfiles_nord * https://github.com/Pipshag/dotfiles_nord
* https://github.com/hajosattila/dotfiles/ * https://github.com/hajosattila/dotfiles/
* https://gist.github.com/toger5/3a509d9a9d7ebba1e02205b00449ccff * https://gist.github.com/toger5/3a509d9a9d7ebba1e02205b00449ccff
Example of passwordless SSH for deploy-rs:
```
nixosConfigurations.target = {
# enable passwordless elevation
security.pam.enableSSHAgentAuth = true;
};
deploy.nodes.target = {
# ssh as normal user but elevate to root after
sshUser = "me";
user = "root";
sshOpts = [ "-A" ];
};
```

View file

@ -17,11 +17,12 @@
# Allow telegraf to talk to other executables it requires: # Allow telegraf to talk to other executables it requires:
systemd.services.telegraf = { systemd.services.telegraf = {
path = with pkgs; [ path = [
lm_sensors # sensors pkgs.lm_sensors # sensors
# linuxPackages.nvidia_x11 # nvidia-smi pkgs.linuxPackages.nvidia_x11 # nvidia-smi
smartmontools # smartctl pkgs.smartmontools # smartctl
sudo # sudo pkgs.sudo # sudo
nixos-version
]; ];
}; };
@ -63,6 +64,9 @@
}; };
temp = {}; temp = {};
wireless = {}; wireless = {};
files = {
files = [ "/etc/os-release" ];
};
exec = { exec = {
commands = [ "nixos-version" ]; commands = [ "nixos-version" ];
name_suffix = "_nixos-version"; name_suffix = "_nixos-version";