users/foo-dogsquared: update custom homepage links and use proper state variables to refer to paths

This commit is contained in:
Gabriel Arazas 2024-09-06 21:38:55 +08:00
parent ff1b7c7919
commit 86157bc1a2
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 7 additions and 2 deletions

View File

@ -44,6 +44,11 @@ in
url = "http://localhost:${builtins.toString config.state.ports.archivebox-webserver.value}";
text = "Archive webserver";
};
YOHOOHOOHOOHOO.links = lib.mkBefore (lib.singleton {
url = "http://localhost:${builtins.toString config.state.ports.archivebox-webserver.value}";
text = "ArchiveBox webserver";
});
})
];
};

View File

@ -107,7 +107,7 @@ in
};
in {
services.links = lib.singleton subsonicLink;
music.links = lib.mkAfter [ (subsonicLink // { text = "Subsonic music server"; }) ];
music.links = lib.mkBefore [ (subsonicLink // { text = "Subsonic music server"; }) ];
}))
];
}
@ -183,7 +183,7 @@ in
};
in {
services.links = lib.singleton mopidyLink;
music.links = lib.singleton (mopidyLink // { text = "Mopidy server"; });
music.links = lib.mkBefore [ (mopidyLink // { text = "Mopidy server"; }) ];
};
})
]);