feat: changed naming convention for devices

This commit is contained in:
Nick 2025-02-17 18:52:02 -06:00
parent cc77a50fc1
commit a0e5ffb3d4
57 changed files with 351 additions and 341 deletions

View file

@ -16,24 +16,24 @@ let
devices
;
hostname = config.networking.hostName;
desktop = devices.desktop.name;
server = devices.server.name;
fallaryn = devices.fallaryn.name;
bartholomew = devices.bartholomew.name;
jupiter = devices.jupiter.name;
ceres = devices.ceres.name;
saturn = devices.saturn.name;
callisto = devices.callisto.name;
userLogic =
if hostname == desktop then
if hostname == jupiter then
user0
else if hostname == server then
else if hostname == ceres then
user0
else if hostname == fallaryn then
else if hostname == saturn then
user2
else
"";
in
{
users.users =
if hostname == bartholomew then
if hostname == callisto then
{ }
else
{