nixos-config/home/modules/ssh.nix
2024-07-03 17:52:10 +02:00

19 lines
273 B
Nix

{
inputs,
lib,
config,
pkgs,
...
}: {
sops.secrets = {
"private_keys/xqtc" = {
path = "/home/xqtc/.ssh/id_ed25519";
mode = "600";
};
"public_keys/xqtc" = {
path = "/home/xqtc/.ssh/id_ed25519.pub";
mode = "640";
};
};
}