extract SSH host config to a secrets repo
This commit is contained in:
parent
17b7854c03
commit
7e8695c0bd
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[submodule "all-hies"]
|
||||
path = all-hies
|
||||
url = https://github.com/Infinisil/all-hies
|
||||
[submodule "home/secrets"]
|
||||
path = home/secrets
|
||||
url = ssh://gitea@git.orlives.de:2342/schmittlauch/home-manager_secrets.git
|
|
@ -8,7 +8,7 @@ HOMECONFIGPATH="${HOME}/.config/nixpkgs"
|
|||
NIXOSCONFIGPATH="/etc/nixos"
|
||||
|
||||
mkdir -p "${HOMECONFIGPATH}"
|
||||
for F in `find ./home -mindepth 1 -maxdepth 1`; do
|
||||
for F in `find ./home -mindepth 1 -maxdepth 2`; do
|
||||
ABS_F=`readlink -f "${F}"`
|
||||
ln -s "$ABS_F" "${HOMECONFIGPATH}/`basename ${F}`"
|
||||
done
|
||||
|
|
|
@ -243,6 +243,7 @@ let
|
|||
twemoji-color-font
|
||||
opensans-ttf
|
||||
(iosevka.override { design = [ "slab" "term" ]; set = "serif"; })
|
||||
(iosevka.override { privateBuildPlan = { design = [ "slab" "sp-term" ]; family = "Iosevka Serif"; }; set = "serif"; })
|
||||
# TODO: vollkorn
|
||||
# TODO: humor-sans
|
||||
];
|
||||
|
@ -293,6 +294,14 @@ in
|
|||
enableSshSupport = true;
|
||||
};
|
||||
|
||||
programs.ssh =
|
||||
{
|
||||
enable = true;
|
||||
# ssh host config
|
||||
matchBlocks =
|
||||
import ./secrets/ssh_hosts.nix;
|
||||
};
|
||||
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
keyMode = "vi";
|
||||
|
|
1
home/secrets
Submodule
1
home/secrets
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit de07de8b76dac718ceef1258738ba2dd8fc3d3c2
|
Loading…
Reference in a new issue