Sharkey/flake.nix

12 lines
397 B
Nix
Raw Normal View History

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