Skyler Grey | 0409e46 | 2022-08-19 23:40:48 +0100 | [diff] [blame] | 1 | { |
| 2 | description = "Minion's NixOS configuration (since 2022-08-19)"; |
| 3 | inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; |
| 4 | inputs.flake-utils.url = "github:numtide/flake-utils"; |
| 5 | |
| 6 | outputs = { |
| 7 | self, |
| 8 | nixpkgs, |
| 9 | flake-utils, |
| 10 | }: |
| 11 | flake-utils.lib.eachDefaultSystem (system: let |
| 12 | pkgs = nixpkgs.legacyPackages.${system}; |
| 13 | in { |
| 14 | devShell = pkgs.mkShell { |
| 15 | nativeBuildInputs = with pkgs; [nodePackages.prettier alejandra]; |
| 16 | buildInputs = []; |
| 17 | }; |
| 18 | formatter = pkgs.alejandra; |
| 19 | }); |
| 20 | } |