musiclink/flake.nix
Meta-Repo Bot b6cf5fdfa7 chore: Harden systemd service and pin nixpkgs to stable
Updates deployment configuration:
- Adds strict systemd sandboxing (ProtectSystem, DynamicUser, etc)
- Pins flake input to nixos-24.11 for stability
- Updates docs to reflect hardening
2026-01-16 22:51:51 +00:00

44 lines
1.1 KiB
Nix

{
description = "MusicLink Bot - A link converter sidecar for Matterbridge";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
packages.default = pkgs.buildGoModule {
pname = "musiclink";
version = "0.1.0";
src = ./.;
# Run 'nix build' and update this hash if dependencies change
vendorHash = "sha256-Upjt0Q2G6x5vGf0bG0TS9uWrHBow8/cQsZexhMgVb2I=";
subPackages = [ "cmd/musiclink" ];
meta = with pkgs.lib; {
description = "Music link converter bot for Matterbridge";
homepage = "https://github.com/dan/musiclink";
license = licenses.mit;
maintainers = [ ];
};
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
go
gopls
gotools
matterbridge
];
};
}
);
}