mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
Separated out the SSH config. Cleaned up apps.
This commit is contained in:
parent
ae16fd6737
commit
6838b19f27
3 changed files with 26 additions and 24 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./ssh.nix
|
||||
./desktop.nix
|
||||
./gaming.nix
|
||||
./network.nix
|
||||
|
|
@ -51,28 +52,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "10m";
|
||||
hashKnownHosts = true;
|
||||
matchBlocks = let
|
||||
kat = {
|
||||
forwardAgent = true;
|
||||
extraOptions = {
|
||||
RemoteForward =
|
||||
"/run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra";
|
||||
};
|
||||
port = 62954;
|
||||
};
|
||||
in {
|
||||
"athame" = { hostname = "athame.kittywit.ch"; } // kat;
|
||||
"samhain" = { hostname = "192.168.1.135"; } // kat;
|
||||
"yule" = { hostname = "192.168.1.92"; } // kat;
|
||||
"boline" = { hostname = "boline.kittywit.ch"; } // kat;
|
||||
};
|
||||
};
|
||||
|
||||
programs.bat.enable = true;
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ in {
|
|||
unstable.google-chrome
|
||||
v4l-utils
|
||||
transmission-gtk
|
||||
jdk11
|
||||
lm_sensors
|
||||
baresip
|
||||
psmisc
|
||||
|
|
@ -61,7 +60,6 @@ in {
|
|||
nitrogen
|
||||
terminator
|
||||
pavucontrol
|
||||
appimage-run
|
||||
gparted
|
||||
scrot
|
||||
gimp-with-plugins
|
||||
|
|
|
|||
25
config/users/kat/ssh.nix
Normal file
25
config/users/kat/ssh.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ configs, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "10m";
|
||||
hashKnownHosts = true;
|
||||
matchBlocks = let
|
||||
common = {
|
||||
forwardAgent = true;
|
||||
extraOptions = {
|
||||
RemoteForward =
|
||||
"/run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra";
|
||||
};
|
||||
port = 62954;
|
||||
};
|
||||
in {
|
||||
"athame" = { hostname = "athame.kittywit.ch"; } // common;
|
||||
"samhain" = { hostname = "192.168.1.135"; } // common;
|
||||
"yule" = { hostname = "192.168.1.92"; } // common;
|
||||
"boline" = { hostname = "boline.kittywit.ch"; } // common;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue