Files
steam-immich/flake.nix
2025-11-09 00:51:24 +01:00

40 lines
809 B
Nix

{
description = "Steam screenshot to Immich";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ nixpkgs, ... }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in
{
packages = forAllSystems (
system:
let
pkgs = nixpkgsFor.${system};
in
{
default = pkgs.buildGoModule {
pname = "steamimmich";
version = "0.1.0";
src = ./.;
vendorHash = "sha256-lZ6wO1k0zwhlxhzNTU1jJz+liC9ly00StqkyrnuWSQM=";
};
}
);
};
}