add sops secrets for Akun

This commit is contained in:
ulic-youthlic 2025-01-20 00:03:53 +08:00
parent ef9e77c9d8
commit 797c55d7eb
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 18 additions and 2 deletions

View file

@ -2,6 +2,7 @@
pkgs,
unixName,
config,
rootPath,
...
}:
{
@ -100,7 +101,7 @@
};
};
};
# includes = [ config.sops.secrets.ssh-config.path ];
includes = [ config.sops.secrets.ssh-config.path ];
};
programs.chromium = {
enable = true;
@ -110,4 +111,19 @@
"--enable-features=UseOzonePlatform"
];
};
sops.secrets = {
"ssh-private-key/tytonidae" = {
mode = "0600";
path = "${config.home.homeDirectory}/.ssh/id_ed25519_tytonidae";
};
"ssh-private-key/akun" = {
mode = "0600";
path = "${config.home.homeDirectory}/.ssh/id_ed25519_akun";
};
"ssh-config" = {
mode = "0400";
format = "yaml";
sopsFile = rootPath + "/secrets/ssh-config.yaml";
};
};
}

View file

@ -16,7 +16,7 @@
};
i18n.enable = true;
programs = {
# dae.enable = true;
dae.enable = true;
openssh.enable = true;
kanata.enable = true;
};