tvl-depot/users/sterni/machines/edwin/http/likely-music.sterni.lv.nix
sterni 2490ce968c feat(sterni/machines): add edwin
This adds edwin, the machine running sterni.lv, as well as my
idiosyncratic deployment solution. It is based on instantiating the
system configuration locally (where you'd work on the configuration),
copying the derivation files to the remote machine where the system
derivation is realised and deployed. Unfortunately, the first step tends
to be quite slow (despite gzip compression), so this may not be the
definite way despite its advantages.

Change-Id: I30f597692338df3981e01a1b7eee9cdad48f94cb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7293
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2022-11-26 15:51:31 +00:00

23 lines
325 B
Nix

{ depot, ... }:
let
inherit (depot.users.sterni.external.likely-music)
nixosModule
likely-music
;
in
{
imports = [
./nginx.nix
nixosModule
];
config = {
services.likely-music = {
enable = true;
virtualHost = "likely-music.sterni.lv";
package = likely-music;
};
};
}