mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
21 lines
537 B
Nix
21 lines
537 B
Nix
{
|
|
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;
|
|
in inputs.flake-utils.lib.eachSystem systems (system: let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShell =
|
|
import ./shell.nix { inherit pkgs; };
|
|
|
|
formatter = pkgs.treefmt;
|
|
});
|
|
}
|