feat: set up nix-ssh
This commit is contained in:
parent
377dadb533
commit
8b1d8c7496
3 changed files with 7 additions and 5 deletions
|
|
@ -50,7 +50,9 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRZXNqs7FgVeTCt2ElOARt5f/bR1gjk5bS+zCJA6C1P root@nuOS"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII7X17VovmxkwhKxIg795yO1Sf7dwO50pybMRlUDLLcA hydra@nuOS"
|
||||
];
|
||||
write = true;
|
||||
};
|
||||
nix.settings.trusted-users = [ "nix-ssh" ];
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config = {
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
home.file = {
|
||||
".ssh/config".text = ''
|
||||
Host 192.168.42.5
|
||||
User noa
|
||||
User nix-ssh
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
# '';
|
||||
".ssh/config".text = ''
|
||||
Host 192.168.42.5
|
||||
User noa
|
||||
User nix-ssh
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue