nixos-config/flake.nix

33 lines
772 B
Nix
Raw Normal View History

{
description = "c8h4.io NixOS configuration";
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "refs/heads/nixos-unstable";
rev = "3d4e386a08fbb43fc8b2f81cd6e6a02671ec73ca"; # 31-08-2023
};
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
deadnix
gnumake
morph
nixfmt
nodePackages.prettier
shellcheck
statix
stylua
];
};
});
}