dotfiles/flake.nix

21 lines
537 B
Nix
Raw Normal View History

2022-04-02 04:02:05 +00:00
{
description = "Basic flake template for setting up development shells";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, ... }:
let systems = inputs.flake-utils.lib.defaultSystems;
2023-03-22 11:16:57 +00:00
in inputs.flake-utils.lib.eachSystem systems (system: let
pkgs = import nixpkgs { inherit system; };
in
{
2022-04-02 04:02:05 +00:00
devShell =
2023-03-22 11:16:57 +00:00
import ./shell.nix { inherit pkgs; };
formatter = pkgs.treefmt;
2022-04-02 04:02:05 +00:00
});
}