parent
35ef02a57b
commit
a6ac2a4890
2 changed files with 25 additions and 5 deletions
16
README.md
16
README.md
|
@ -209,3 +209,19 @@ Completed ToDo List [here](docs/complete.md)
|
|||
* https://github.com/Pipshag/dotfiles_nord
|
||||
* https://github.com/hajosattila/dotfiles/
|
||||
* 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" ];
|
||||
};
|
||||
|
||||
```
|
|
@ -17,11 +17,12 @@
|
|||
|
||||
# Allow telegraf to talk to other executables it requires:
|
||||
systemd.services.telegraf = {
|
||||
path = with pkgs; [
|
||||
lm_sensors # sensors
|
||||
# linuxPackages.nvidia_x11 # nvidia-smi
|
||||
smartmontools # smartctl
|
||||
sudo # sudo
|
||||
path = [
|
||||
pkgs.lm_sensors # sensors
|
||||
pkgs.linuxPackages.nvidia_x11 # nvidia-smi
|
||||
pkgs.smartmontools # smartctl
|
||||
pkgs.sudo # sudo
|
||||
nixos-version
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -63,6 +64,9 @@
|
|||
};
|
||||
temp = {};
|
||||
wireless = {};
|
||||
files = {
|
||||
files = [ "/etc/os-release" ];
|
||||
};
|
||||
exec = {
|
||||
commands = [ "nixos-version" ];
|
||||
name_suffix = "_nixos-version";
|
||||
|
|
Loading…
Reference in a new issue