feat: security - gnupg & openssh's KDF

This commit is contained in:
Ryan Yin
2024-01-26 12:38:13 +08:00
parent ec5ef05983
commit ecc335b07e
12 changed files with 155 additions and 25 deletions

View File

@@ -1,6 +0,0 @@
{
imports = [
./base
../base.nix
];
}

View File

@@ -0,0 +1,7 @@
{username, ...}: {
# Public Keys that can be used to login to all my servers.
users.users.${username}.openssh.authorizedKeys.keys = [
# TODO update keys here
"ssh-ed25519 xxx ryan@romantic"
];
}

View File

@@ -4,11 +4,13 @@
# =========================================================================
imports = [
./base/i18n.nix
./base/misc.nix
./base/user-group.nix
../base/i18n.nix
../base/misc.nix
../base/user-group.nix
../base.nix
../../base.nix
./security.nix
];
# List packages installed in system profile. To search, run:

View File

@@ -0,0 +1,8 @@
{
imports = [
../base
../../base.nix
./security.nix
];
}