nix machine / user configurations

feat(qol): configure treefmt

ptr.pet 9a37a993 bfbf63ed

verified
Changed files
+9 -10
shells
+7 -1
shells/default.nix
··· 34 34 rage 35 35 nh 36 36 nvfetcher 37 + treefmt 37 38 # golangci-lint 38 39 # golangci-lint-langserver 39 40 ]) ··· 48 49 ''; 49 50 }; 50 51 perses = pkgs.mkShellNoCC { 51 - packages = [dash set.terra.percli pkgs.go pkgs.gopls]; 52 + packages = [ 53 + dash 54 + set.terra.percli 55 + pkgs.go 56 + pkgs.gopls 57 + ]; 52 58 }; 53 59 } 54 60 ) allPkgsSets
+2 -9
treefmt.toml
··· 1 - # One CLI to format the code tree - https://github.com/numtide/treefmt 2 - 3 1 [formatter.nix] 4 - # Formatter to run 5 2 command = "nixfmt" 6 - # Command-line arguments for the command 7 - options = [] 8 - # Glob pattern of files to include 9 - includes = [ "*.nix" ] 10 - # Glob patterns of files to exclude 11 - excludes = [] 3 + includes = ["*.nix"] 4 + excludes = ["_sources/generated.nix"]