1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Configure ssh entries with Home Manager

This commit is contained in:
RGBCube 2023-12-16 10:12:08 +03:00
parent 097b8880f8
commit ce3e4e497f
No known key found for this signature in database
3 changed files with 15 additions and 1 deletions

2
.gitignore vendored
View file

@ -35,6 +35,7 @@
!modules/qt/
!modules/ripgrep/
!modules/rust/
!modules/ssh/
!modules/steam/
!modules/steck/
!modules/sudo/
@ -45,7 +46,6 @@
!.gitignore
!flake.lock
!*.lua
!*.md
!*.nix
!*.nu

View file

@ -45,6 +45,7 @@
"qt"
"ripgrep"
"rust"
"ssh"
"steam"
"steck"
"sudo"

13
modules/ssh/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ ulib, ... }: with ulib;
homeConfiguration {
programs.ssh = enabled {
matchBlocks.robotic = {
hostname = "86.105.252.189";
user = "rgbcube";
port = 2299;
setEnv.TERM = "xterm-kitty";
identityFile = "~/.ssh/id_rsa";
};
};
}