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

@ -7,16 +7,16 @@ in
flake.homeModules =
let
inherit (config.machines.devices)
bartholomew
desktop
fallaryn
laptop
server
callisto
jupiter
saturn
ganymede
ceres
;
inherit (config.people) user0 user1 user2;
in
{
"${desktop.name}-${user0}" = {
"${jupiter.name}-${user0}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -55,7 +55,7 @@ in
;
};
};
"${desktop.name}-${user1}" = {
"${jupiter.name}-${user1}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -76,7 +76,7 @@ in
;
};
};
"${fallaryn.name}-${user2}" = {
"${saturn.name}-${user2}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -106,7 +106,7 @@ in
;
};
};
"${laptop.name}-${user0}" = {
"${ganymede.name}-${user0}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -123,7 +123,7 @@ in
;
};
};
"${laptop.name}-${user1}" = {
"${ganymede.name}-${user1}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -144,7 +144,7 @@ in
;
};
};
"${bartholomew.name}-${user1}" = {
"${callisto.name}-${user1}" = {
imports = builtins.attrValues {
inherit (modules)
cli
@ -168,7 +168,7 @@ in
;
};
};
"${server.name}-${user0}" = {
"${ceres.name}-${user0}" = {
imports = builtins.attrValues {
inherit (modules)
cli

View file

@ -8,7 +8,7 @@ let
;
inherit (flake.config.machines.devices)
synology
server
ceres
;
inherit (flake.config.services)
instances
@ -82,7 +82,7 @@ in
}
{
name = "${instances.jellyfin.label} (Local)";
url = "http://${server.ip.address0}:${toString instances.jellyfin.ports.port1}";
url = "http://${ceres.ip.address0}:${toString instances.jellyfin.ports.port1}";
tags = jellyfinTags;
keyword = instances.jellyfin.label;
}
@ -141,7 +141,7 @@ in
}
# {
# name = "${instances.owncast.label} (Admin)";
# url = "http://${server.ip.address0}:${toString instances.owncast.ports.port0}/admin";
# url = "http://${ceres.ip.address0}:${toString instances.owncast.ports.port0}/admin";
# tags = owncastTags;
# keyword = instances.owncast.label;
# }

View file

@ -8,7 +8,7 @@ let
;
inherit (flake.config.machines.devices)
synology
server
ceres
;
inherit (flake.config.services)
instances
@ -82,7 +82,7 @@ in
}
{
name = "${instances.jellyfin.label} (Local)";
url = "http://${server.ip.address0}:${toString instances.jellyfin.ports.port1}";
url = "http://${ceres.ip.address0}:${toString instances.jellyfin.ports.port1}";
tags = jellyfinTags;
keyword = instances.jellyfin.label;
}
@ -141,7 +141,7 @@ in
}
# {
# name = "${instances.owncast.label} (Admin)";
# url = "http://${server.ip.address0}:${toString instances.owncast.ports.port0}/admin";
# url = "http://${ceres.ip.address0}:${toString instances.owncast.ports.port0}/admin";
# tags = owncastTags;
# keyword = instances.owncast.label;
# }