1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +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/qt/
!modules/ripgrep/ !modules/ripgrep/
!modules/rust/ !modules/rust/
!modules/ssh/
!modules/steam/ !modules/steam/
!modules/steck/ !modules/steck/
!modules/sudo/ !modules/sudo/
@ -45,7 +46,6 @@
!.gitignore !.gitignore
!flake.lock !flake.lock
!*.lua
!*.md !*.md
!*.nix !*.nix
!*.nu !*.nu

View file

@ -45,6 +45,7 @@
"qt" "qt"
"ripgrep" "ripgrep"
"rust" "rust"
"ssh"
"steam" "steam"
"steck" "steck"
"sudo" "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";
};
};
}