Sharkey/flake.nix

12 lines
336 B
Nix
Raw Normal View History

2024-12-05 11:31:58 +01:00
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }: {
2024-12-05 14:33:12 +01:00
nixosModules.sharkey-service = args : import ./sharkey-service.nix ( args // { sharkey = self.packages.sharkey; } );
2024-12-05 11:31:58 +01:00
2024-12-05 14:33:12 +01:00
packages."x86_64-linux".sharkey = nixpkgs.legacyPackages."x86_64-linux".callPackage ./sharkey.nix { };
2024-12-05 11:31:58 +01:00
};
}