ssh: add home ssh config
This commit is contained in:
parent
af8b0679d8
commit
8b648cb3ae
2 changed files with 17 additions and 0 deletions
15
modules/home/cliPrograms/ssh.nix
Normal file
15
modules/home/cliPrograms/ssh.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.settings.programs.ssh = {
|
||||||
|
enable = lib.mkEnableOption "enable ssh home config";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.settings.programs.ssh.enable {
|
||||||
|
programs.ssh = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = "Host 192.168.1.70
|
||||||
|
SetEnv TERM=xterm-256color";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
./cliPrograms/hyfetch.nix
|
./cliPrograms/hyfetch.nix
|
||||||
./cliPrograms/git.nix
|
./cliPrograms/git.nix
|
||||||
./cliPrograms/bat.nix
|
./cliPrograms/bat.nix
|
||||||
|
./cliPrograms/ssh.nix
|
||||||
|
|
||||||
./cliPrograms/starship
|
./cliPrograms/starship
|
||||||
./cliPrograms/fastfetch
|
./cliPrograms/fastfetch
|
||||||
|
|
@ -48,6 +49,7 @@
|
||||||
fastfetch.enable = lib.mkDefault true;
|
fastfetch.enable = lib.mkDefault true;
|
||||||
git.enable = lib.mkDefault true;
|
git.enable = lib.mkDefault true;
|
||||||
bat.enable = lib.mkDefault true;
|
bat.enable = lib.mkDefault true;
|
||||||
|
ssh.enable = lib.mkDefault true;
|
||||||
hyfetch.enable = lib.mkDefault false;
|
hyfetch.enable = lib.mkDefault false;
|
||||||
starship.enable = lib.mkDefault false;
|
starship.enable = lib.mkDefault false;
|
||||||
helix.enable = lib.mkDefault false;
|
helix.enable = lib.mkDefault false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue