mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: changed naming convention for devices
This commit is contained in:
parent
cc77a50fc1
commit
a0e5ffb3d4
57 changed files with 351 additions and 341 deletions
|
@ -8,17 +8,17 @@ 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
|
||||
"";
|
||||
|
@ -32,7 +32,7 @@ in
|
|||
generateKey = false;
|
||||
};
|
||||
secrets =
|
||||
if hostname == bartholomew then
|
||||
if hostname == callisto then
|
||||
{ }
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue