This commit is contained in:
2025-10-10 01:42:26 +03:00
parent b19ca0410e
commit 93a4f8c837
2 changed files with 6 additions and 8 deletions
+6 -4
View File
@@ -39,8 +39,6 @@
sshKeyPaths = [
"/etc/ssh/id_ed25519"
];
# keyFile = "/var/lib/sops-nix/key.txt";
# generateKey = true;
};
defaultSopsFile = ../secrets/default.yaml;
secrets = {
@@ -58,14 +56,18 @@
};
ssh_key_private = {
format = "yaml";
# sopsFile = ../secrets/default.yaml;
key = "ssh_key_private";
path = "/home/${xlib.device.username}/.ssh/id_ed25519";
owner = config.users.users."${xlib.device.username}".name;
group = config.users.users."${xlib.device.username}".group;
mode = "0600";
};
ssh_key_private_host = {
format = "yaml";
key = "ssh_key_private";
path = "/etc/ssh/id_ed25519";
mode = "0600";
};
ssh_key_public = {
format = "yaml";
key = "ssh_key_public";