mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-29 04:07:02 +02:00
feat: security - gnupg & openssh's KDF
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
./base
|
||||
../base.nix
|
||||
];
|
||||
}
|
||||
7
modules/nixos/server/security.nix
Normal file
7
modules/nixos/server/security.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
@@ -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:
|
||||
8
modules/nixos/server/server.nix
Normal file
8
modules/nixos/server/server.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
imports = [
|
||||
../base
|
||||
../../base.nix
|
||||
|
||||
./security.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user