My new new dotfiles :3
1{ inputs, ... }:
2{
3 debug = true;
4
5 flake-file.inputs.devshell = {
6 url = "github:numtide/devshell";
7 inputs.nixpkgs.follows = "nixpkgs";
8 };
9
10 imports = [
11 inputs.devshell.flakeModule
12 ];
13
14 perSystem =
15 { pkgs, ... }:
16 {
17 devshells.default = {
18 packages = [
19 pkgs.nixd
20 pkgs.nil
21 pkgs.nixfmt
22 pkgs.prettier
23 ];
24 };
25 };
26
27 flake = {
28 nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
29 };
30}