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

@ -9,10 +9,10 @@ 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.names;
callisto = devices.callisto.name;
in
{
security = {
@ -24,13 +24,13 @@ in
noPass = true;
users = [
(
if hostname == desktop then
if hostname == jupiter then
user0
else if hostname == server then
else if hostname == ceres then
user0
else if hostname == bartholomew then
else if hostname == callisto then
user1
else if hostname == fallaryn then
else if hostname == saturn then
user2
else
""