Initial commit

This commit is contained in:
2022-08-05 23:44:21 +02:00
commit aa7a98f984
7 changed files with 458 additions and 0 deletions

19
flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
inputs.nixpkgs.url = "nixpkgs/nixos-22.05";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {self, nixpkgs, flake-utils, ...}: flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in rec {
defaultPackage = pkgs.buildGoModule {
pname = "qddns";
version = "1.0";
src = ./.;
vendorSha256 = "";
};
devShells.default = pkgs.mkShell {
nativeBuildInputs = [
pkgs.go
];
};
});
}