diff options
Diffstat (limited to 'home/root/ginaz.nix')
-rw-r--r-- | home/root/ginaz.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/home/root/ginaz.nix b/home/root/ginaz.nix index 72dbda0..4675184 100644 --- a/home/root/ginaz.nix +++ b/home/root/ginaz.nix @@ -1,5 +1,12 @@ { inputs, lib, pkgs, config, outputs, ... }: { + + home = { + file = { + "bin/knock".source = ../common/scripts/knock; + }; + }; + imports = [ common/core ]; @@ -7,4 +14,14 @@ nix.extraOptions = '' !include /run/secrets/nix-access-token-github ''; + + sops = { + age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + defaultSopsFile = ./secrets/ginaz.yaml; + + secrets = { + "ssh_config" = { + path = "/root/.ssh/config"; + }; + }; } |