2023-04-23 22:35:23 +02:00
|
|
|
{
|
|
|
|
description = "c8h4.io NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
2023-07-04 15:43:37 +02:00
|
|
|
nixpkgs = {
|
|
|
|
type = "github";
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "refs/heads/nixos-unstable";
|
2023-09-25 14:17:46 +02:00
|
|
|
rev = "3d4e386a08fbb43fc8b2f81cd6e6a02671ec73ca"; # 31-08-2023
|
2023-07-04 15:43:37 +02:00
|
|
|
};
|
2023-04-23 22:35:23 +02:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
2023-05-08 17:15:47 +02:00
|
|
|
let pkgs = import nixpkgs { inherit system; };
|
2023-08-08 21:06:33 +02:00
|
|
|
in {
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
deadnix
|
|
|
|
gnumake
|
|
|
|
morph
|
|
|
|
nixfmt
|
|
|
|
nodePackages.prettier
|
|
|
|
shellcheck
|
|
|
|
statix
|
|
|
|
stylua
|
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
2023-04-23 22:35:23 +02:00
|
|
|
}
|