nixos-config/home/modules/ssh.nix

21 lines
321 B
Nix
Raw Normal View History

{
inputs,
lib,
config,
pkgs,
...
}: {
2024-07-03 17:52:10 +02:00
sops.secrets = {
"private_keys/xqtc" = {
path = "/home/xqtc/.ssh/id_ed25519";
# owner = "xqtc";
2024-07-03 17:52:10 +02:00
mode = "600";
};
"public_keys/xqtc" = {
path = "/home/xqtc/.ssh/id_ed25519.pub";
# owner = "xqtc";
2024-07-03 17:52:10 +02:00
mode = "640";
};
};
}