mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: server test
This commit is contained in:
parent
04d561de0c
commit
712b89b7ab
2 changed files with 4 additions and 20 deletions
|
@ -15,13 +15,13 @@ let
|
|||
devices
|
||||
;
|
||||
hostname = config.networking.hostName;
|
||||
desktop = devices.desktop.name;
|
||||
fallaryn = devices.fallaryn.name;
|
||||
user0devices = devices.desktop.name || devices.server.name;
|
||||
user2devices = devices.fallaryn.name;
|
||||
|
||||
userLogic =
|
||||
if hostname == desktop then
|
||||
if hostname == user0devices then
|
||||
user0
|
||||
else if hostname == fallaryn then
|
||||
else if hostname == user2devices then
|
||||
user2
|
||||
else
|
||||
"";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue