reconfigure photon

This commit is contained in:
Dennis Wuitz
2023-12-27 10:03:13 +01:00
parent b6c85d89dd
commit 78e428f3f3
10 changed files with 325 additions and 115 deletions

View File

@ -1,10 +1,10 @@
{
lib,
config,
pkgs,
name,
publicKeys ? [],
defaultShell ? "zsh",
{ lib
, config
, pkgs
, name
, publicKeys ? [ ]
, defaultShell ? "zsh"
,
}:
{
@ -25,4 +25,4 @@
shell = pkgs.${defaultShell};
hashedPasswordFile = config.sops.secrets."${name}/user-password".path;
openssh.authorizedKeys.keys = publicKeys;
}
}