Skip to content

Commit

Permalink
Add nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Aug 31, 2021
1 parent c7c4e63 commit 91456ef
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
43 changes: 43 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
description = "Generate Wireguard configurations for Mullvad";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem ["x86_64-darwin" "x86_64-linux"]
(system:
let pkgs = import nixpkgs { inherit system; }; in
{
defaultPackage = pkgs.haskellPackages.callPackage ./default.nix {};
}
);
}

0 comments on commit 91456ef

Please sign in to comment.