nix-dotfiles/home/config/ssh/default.nix

16 lines
281 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [
./home.nix
./other.nix
./pvv.nix
];
sops.secrets."ssh/secret-config/home" = {
sopsFile = ../../../secrets/common.yaml;
mode = "0444";
};
programs.ssh.includes = [ config.sops.secrets."ssh/secret-config/home".path ];
}