feat: init srv0-dmz0

This commit is contained in:
steveej 2023-07-06 22:42:24 +02:00
parent b481126ae2
commit 4cb8e6df29
16 changed files with 447 additions and 91 deletions

View file

@ -1,7 +1,9 @@
{
lib,
keys ? import ../../variables/keys.nix,
}: {
config,
}: let
keys = import ../../variables/keys.nix;
in {
mkUser = args: (
lib.attrsets.recursiveUpdate {
isNormalUser = true;
@ -19,6 +21,11 @@
"adbusers"
];
openssh.authorizedKeys.keys = keys.users.steveej.openssh;
# TODO: investigate why this secret cannot be found
# openssh.authorizedKeys.keyFiles = [
# config.sops.secrets.sharedSshKeys-steveej.path
# ];
}
args
);