Compare commits
No commits in common. "0d83bffb4c9ee3b14698b467ed4e836b39af5d42" and "f8ed25e743be764ac8fa1ddea9ad4b400ffc1d69" have entirely different histories.
0d83bffb4c
...
f8ed25e743
@ -16,7 +16,6 @@ in
|
|||||||
./code.nix
|
./code.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./ssh.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
158
home/ssh.nix
158
home/ssh.nix
@ -1,158 +0,0 @@
|
|||||||
{
|
|
||||||
programs.ssh = {
|
|
||||||
enable = true;
|
|
||||||
compression = true;
|
|
||||||
|
|
||||||
matchBlocks = {
|
|
||||||
"tommy.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/tommypc";
|
|
||||||
};
|
|
||||||
|
|
||||||
"dodino.devs.giugl.io" = {
|
|
||||||
user = "pi";
|
|
||||||
identityFile = "~/.ssh/dodino";
|
|
||||||
};
|
|
||||||
|
|
||||||
"pepostwo.devs.giugl.io" = {
|
|
||||||
user = "pepos";
|
|
||||||
identityFile = "~/.ssh/pepos";
|
|
||||||
};
|
|
||||||
|
|
||||||
"bastion.nms.kcl.ac.uk" = {
|
|
||||||
user = "k1804704";
|
|
||||||
identityFile = "~/.ssh/kcllabs";
|
|
||||||
};
|
|
||||||
|
|
||||||
"s2access" = {
|
|
||||||
hostname = "s2lab-access.nms.kcl.ac.uk";
|
|
||||||
user = "k1804704";
|
|
||||||
identityFile = "~/.ssh/kcllabs";
|
|
||||||
proxyJump = "bastion.nms.kcl.ac.uk";
|
|
||||||
};
|
|
||||||
|
|
||||||
"kcl-mtl" = {
|
|
||||||
hostname = "134.219.148.11";
|
|
||||||
user = "peperunas";
|
|
||||||
port = 30330;
|
|
||||||
identityFile = "~/.ssh/kcl-mtl";
|
|
||||||
};
|
|
||||||
|
|
||||||
"aws-kcl" = {
|
|
||||||
hostname = "ssh0-eu-west-2.nms.kcl.ac.uk";
|
|
||||||
user = "k1804704";
|
|
||||||
identityFile = "~/.ssh/kcllabs";
|
|
||||||
};
|
|
||||||
|
|
||||||
"ctf.mhackeroni.it" = {
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/github";
|
|
||||||
};
|
|
||||||
|
|
||||||
"hotpottino.devs.giugl.io" = {
|
|
||||||
user = "pi";
|
|
||||||
identityFile = "~/.ssh/hotpottino";
|
|
||||||
};
|
|
||||||
|
|
||||||
"gbeast.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/gbeast";
|
|
||||||
forwardX11 = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"ctf.pnc.giugl.io" = {
|
|
||||||
hostname = "s2lab.isg.rhul.ac.uk";
|
|
||||||
user = "peperunas";
|
|
||||||
port = 38022;
|
|
||||||
identityFile = "~/.ssh/rhul_infrastructure";
|
|
||||||
};
|
|
||||||
|
|
||||||
"padulino.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/padulino";
|
|
||||||
};
|
|
||||||
|
|
||||||
"ssh.dev.azure.com" = {
|
|
||||||
user = "git";
|
|
||||||
identityFile = "~/.ssh/freta";
|
|
||||||
};
|
|
||||||
|
|
||||||
"peppiniell.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/peppiniell";
|
|
||||||
};
|
|
||||||
|
|
||||||
"broccolino.devs.giugl.io" = {
|
|
||||||
user = "pi";
|
|
||||||
port = 5541;
|
|
||||||
identityFile = "~/.ssh/broccoli";
|
|
||||||
};
|
|
||||||
|
|
||||||
"secloud-node-8" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/secloud-node-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
"git.seclab.cs.ucsb.edu" = {
|
|
||||||
user = "peperunas";
|
|
||||||
identityFile = "~/.ssh/gitlab-ucsb";
|
|
||||||
};
|
|
||||||
|
|
||||||
"architect.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/giupi";
|
|
||||||
};
|
|
||||||
|
|
||||||
"architect.devs.giugl.io.boot" = {
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/giupi";
|
|
||||||
};
|
|
||||||
|
|
||||||
"git.giugl.io" = {
|
|
||||||
user = "peperunas";
|
|
||||||
port = 10022;
|
|
||||||
identityFile = "~/.ssh/gitea";
|
|
||||||
};
|
|
||||||
|
|
||||||
"github.com" = {
|
|
||||||
user = "git";
|
|
||||||
identityFile = "~/.ssh/github";
|
|
||||||
};
|
|
||||||
|
|
||||||
"git.ctf.necst.it" = {
|
|
||||||
user = "ctf";
|
|
||||||
identityFile = "~/.ssh/gitlab_necst";
|
|
||||||
};
|
|
||||||
|
|
||||||
"manduria.devs.giugl.io" = {
|
|
||||||
user = "giulio";
|
|
||||||
identityFile = "~/.ssh/imacmanduria";
|
|
||||||
};
|
|
||||||
|
|
||||||
"bitbucket.org" = {
|
|
||||||
identityFile = "~/.ssh/bitbucket";
|
|
||||||
};
|
|
||||||
|
|
||||||
"the.al" = {
|
|
||||||
user = "git";
|
|
||||||
port = 17002;
|
|
||||||
identityFile = "~/.ssh/alain";
|
|
||||||
};
|
|
||||||
|
|
||||||
"ironman.local.necst.it" = {
|
|
||||||
user = "peperunas";
|
|
||||||
identityFile = "~/.ssh/ironman";
|
|
||||||
};
|
|
||||||
|
|
||||||
"aur.archlinux.org" = {
|
|
||||||
user = "aur";
|
|
||||||
identityFile = "~/.ssh/aur";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
IdentitiesOnly yes
|
|
||||||
ServerAliveInterval 3600
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
@ -19,10 +19,10 @@
|
|||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.root = {
|
# home-manager.users.root = {
|
||||||
imports = [ ./home/zsh.nix ./home/ssh.nix ./home/code.nix ];
|
# imports = [ ./home/zsh.nix ./home/code.nix ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
home-manager.users.giulio = {
|
home-manager.users.giulio = {
|
||||||
imports = [ ./home ];
|
imports = [ ./home ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user