feat: added other user themes

This commit is contained in:
Nick 2025-01-31 01:49:36 -06:00
parent 6cdbfedc93
commit 1635b0c845
40 changed files with 593 additions and 210 deletions

View file

@ -6,6 +6,7 @@
let
inherit (flake.config.people)
user0
user1
user2
;
inherit (flake.config.people.users.${userLogic})
@ -18,6 +19,7 @@ let
desktop = devices.desktop.name;
server = devices.server.name;
fallaryn = devices.fallaryn.name;
bartholomew = devices.bartholomew.name;
userLogic =
if hostname == desktop then
@ -30,7 +32,13 @@ let
"";
in
{
users.users.${userLogic} = {
openssh.authorizedKeys.keys = sshKeys;
};
users.users =
if hostname == bartholomew then
{ }
else
{
${userLogic} = {
openssh.authorizedKeys.keys = sshKeys;
};
};
}