mmdvm-flake/flake.nix

27 lines
601 B
Nix
Raw Normal View History

2024-11-05 21:30:44 +01:00
{
description = "A flake for mmdvm DL0XK patches.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/24.05";
};
outputs = inputs@{ self, nixpkgs, ... }:
let
lib = nixpkgs.lib;
in
{
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
packages = {
x86_64-linux = {
default = nixpkgs.legacyPackages.x86_64-linux.callPackage ./default.nix { };
};
};
nixosModules.default = { config, pkgs, ... }: {
imports = [ ./module.nix ];
_module.args.mmdvm_host = self.packages;
};
};
}