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:
parent
097b8880f8
commit
ce3e4e497f
3 changed files with 15 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
"qt"
|
"qt"
|
||||||
"ripgrep"
|
"ripgrep"
|
||||||
"rust"
|
"rust"
|
||||||
|
"ssh"
|
||||||
"steam"
|
"steam"
|
||||||
"steck"
|
"steck"
|
||||||
"sudo"
|
"sudo"
|
||||||
|
|
13
modules/ssh/default.nix
Normal file
13
modules/ssh/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue