forked from chriskuchin/terraform-provider-bowtie
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflake.nix
28 lines (24 loc) · 893 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
description = "Bowtie Terraform provider development environment";
inputs = {
devshell.url = "github:numtide/devshell";
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = inputs@{ self, devshell, flake-parts, flake-utils, nixpkgs, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ devshell.flakeModule ];
systems = flake-utils.lib.defaultSystems;
perSystem = { pkgs, system, ... }: {
_module.args.pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
devshells.default = {
imports = [ (devshell.lib.importTOML ./devshell.toml) ];
};
};
};
}