mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +00:00
users/foo-dogsquared: update custom homepage links and use proper state variables to refer to paths
This commit is contained in:
parent
ff1b7c7919
commit
86157bc1a2
@ -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";
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
|
@ -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"; }) ];
|
||||
};
|
||||
})
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user