feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions

View file

@ -2,35 +2,33 @@ let
nixpkgs = {
url = "https://github.com/NixOS/nixpkgs/";
ref = "nixos-22.11";
rev = ''
0040164e473509b4aee6aedb3b923e400d6df10b'';
rev = ''0040164e473509b4aee6aedb3b923e400d6df10b'';
};
in {
in
{
inherit nixpkgs;
nixos = nixpkgs // {suffix = "/nixos";};
nixos = nixpkgs // {
suffix = "/nixos";
};
"channels-nixos-stable" = nixpkgs;
"channels-nixos-unstable" = {
url = "https://github.com/NixOS/nixpkgs/";
ref = "nixos-unstable";
rev = ''
d9f759f2ea8d265d974a6e1259bd510ac5844c5d'';
rev = ''d9f759f2ea8d265d974a6e1259bd510ac5844c5d'';
};
"channels-nixos-unstable-small" = {
url = "https://github.com/NixOS/nixpkgs/";
ref = "nixos-unstable-small";
rev = ''
9c34c8adba80180608794cce600b10183b048942'';
rev = ''9c34c8adba80180608794cce600b10183b048942'';
};
"nixpkgs-master" = {
url = "https://github.com/NixOS/nixpkgs/";
ref = "master";
rev = ''
f9adb566707a492bd3d17fee1e223695d939b52a'';
rev = ''f9adb566707a492bd3d17fee1e223695d939b52a'';
};
"home-manager-module" = {
url = "https://github.com/nix-community/home-manager";
ref = "release-22.11";
rev = ''
d6f3ba090ed090ae664ab5bac329654093aae725'';
rev = ''d6f3ba090ed090ae664ab5bac329654093aae725'';
};
}