Add SSH
Configure ssh, use git-crypt to crypt the configuration. That way no information like domain name, ip, port, username, etc. are exposed.
This commit is contained in:
parent
3f2fee8a6f
commit
90b5f5b6d0
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
home/programs/ssh-match-blocks.nix filter=git-crypt diff=git-crypt
|
|
@ -22,6 +22,7 @@ with pkgs; [
|
|||
bc
|
||||
|
||||
borgbackup
|
||||
git-crypt
|
||||
keepassxc
|
||||
|
||||
libreoffice
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
inherit config pkgs;
|
||||
};
|
||||
|
||||
ssh = import ./programs/ssh.nix {
|
||||
};
|
||||
|
||||
zathura = import ./programs/zathura.nix {
|
||||
};
|
||||
|
||||
|
|
BIN
home/programs/ssh-match-blocks.nix
Normal file
BIN
home/programs/ssh-match-blocks.nix
Normal file
Binary file not shown.
7
home/programs/ssh.nix
Normal file
7
home/programs/ssh.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
_:
|
||||
|
||||
{
|
||||
enable = true;
|
||||
matchBlocks = import ./ssh-match-blocks.nix {
|
||||
};
|
||||
}
|
|
@ -110,8 +110,6 @@ Migration:
|
|||
* Thunderbird configuration to nix. Seems like no module exists, but is same as
|
||||
for firefox.
|
||||
|
||||
* Migrate ssh config (I don't really like to expose customer server names and configs to outer world, how to handle?)
|
||||
|
||||
* Migrate PGP?
|
||||
|
||||
* Right now I've installed gnupg2, gnupg, gpg on ubuntu
|
||||
|
|
Loading…
Reference in a new issue