mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added other user themes
This commit is contained in:
parent
6cdbfedc93
commit
1635b0c845
40 changed files with 593 additions and 210 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue