mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Add secret SSH host configurations
This commit is contained in:
parent
369501ab86
commit
11f2227514
4 changed files with 15 additions and 3 deletions
BIN
modules/ssh/config.age
Normal file
BIN
modules/ssh/config.age
Normal file
Binary file not shown.
|
@ -1,4 +1,11 @@
|
|||
{ self, lib, pkgs, ... }: with lib; merge
|
||||
{ self, config, lib, pkgs, ... }: with lib; merge
|
||||
|
||||
(systemConfiguration {
|
||||
secrets.sshConfig = {
|
||||
file = ./config.age;
|
||||
mode = "444";
|
||||
};
|
||||
})
|
||||
|
||||
(desktopSystemPackages (with pkgs; [
|
||||
mosh
|
||||
|
@ -11,6 +18,8 @@
|
|||
serverAliveCountMax = 2;
|
||||
serverAliveInterval = 60;
|
||||
|
||||
includes = [ config.secrets.sshConfig.path ];
|
||||
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
setEnv.COLORTERM = "truecolor";
|
Loading…
Add table
Add a link
Reference in a new issue