diff options
Diffstat (limited to 'templates/full/flake.nix')
| -rw-r--r-- | templates/full/flake.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/templates/full/flake.nix b/templates/full/flake.nix index 3976e91..a98971a 100644 --- a/templates/full/flake.nix +++ b/templates/full/flake.nix @@ -16,9 +16,11 @@ pre-commit = { url = "github:cachix/pre-commit-hooks.nix"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.nixpkgs-stable.follows = "nixpkgs"; - inputs.flake-compat.follows = "compat"; + inputs = { + nixpkgs.follows = "nixpkgs"; + nixpkgs-stable.follows = "nixpkgs"; + flake-compat.follows = "compat"; + }; }; }; @@ -30,7 +32,16 @@ parts.lib.mkFlake {inherit inputs;} { imports = [ pre-commit.flakeModule - ./nix + + ./nix/dev.nix + ./nix/packages.nix + ]; + + systems = [ + "x86_64-linux" + "aarch64-linux" + "x86_64-darwin" + "aarch64-darwin" ]; }; } |
