forked from clan/clan-core
Valentin Gagarin
055b17c01b
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.
this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.
[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
205 lines
5.1 KiB
JSON
205 lines
5.1 KiB
JSON
{
|
|
"nodes": {
|
|
"disko": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1716394172,
|
|
"narHash": "sha256-B+pNhV8GFeCj9/MoH+qtGqKbgv6fU4hGaw2+NoYYtB0=",
|
|
"owner": "nix-community",
|
|
"repo": "disko",
|
|
"rev": "23c63fb09334c3e8958b57e2ddc3870b75b9111d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "disko",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-parts": {
|
|
"inputs": {
|
|
"nixpkgs-lib": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1715865404,
|
|
"narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=",
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"git-hooks": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1716413087,
|
|
"narHash": "sha256-nSTIB7JeJGBGsvtqlyfhUByh/isyK1nfOq2YMxUOFJQ=",
|
|
"owner": "fricklerhandwerk",
|
|
"repo": "git-hooks",
|
|
"rev": "99a78fcf7dc03ba7b1d5c00af109c1e28ced3490",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "fricklerhandwerk",
|
|
"repo": "git-hooks",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixlib": {
|
|
"locked": {
|
|
"lastModified": 1712450863,
|
|
"narHash": "sha256-K6IkdtMtq9xktmYPj0uaYc8NsIqHuaAoRBaMgu9Fvrw=",
|
|
"owner": "nix-community",
|
|
"repo": "nixpkgs.lib",
|
|
"rev": "3c62b6a12571c9a7f65ab037173ee153d539905f",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "nixpkgs.lib",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixos-2311": {
|
|
"locked": {
|
|
"lastModified": 1715818734,
|
|
"narHash": "sha256-WvAJWCwPj/6quKcsgsvQYyZRxV8ho/yUzj0HZQ34DVU=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "95742536dc6debb5a8b8b78b27001c38f369f1e7",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "release-23.11",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixos-generators": {
|
|
"inputs": {
|
|
"nixlib": "nixlib",
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1716123454,
|
|
"narHash": "sha256-U2o4UPM/UsEyIX2p11+YEQgR9HY3PmjZ2mRl/x5e4xo=",
|
|
"owner": "nix-community",
|
|
"repo": "nixos-generators",
|
|
"rev": "a63e0c83dd83fe28cc571b97129e13373436bd82",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "nixos-generators",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixos-images": {
|
|
"inputs": {
|
|
"nixos-2311": "nixos-2311",
|
|
"nixos-unstable": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1716132123,
|
|
"narHash": "sha256-rATSWbPaKQfZGaemu0tHL2xfCzVIVwpuTjk+KSBC+k4=",
|
|
"owner": "nix-community",
|
|
"repo": "nixos-images",
|
|
"rev": "8c9cab8c44434c12dafc465fbf61a710c5bceb08",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "nixos-images",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1716127062,
|
|
"narHash": "sha256-2rk8FqB/iQV2d0vQLs684/Tj5PUHaS1sFwG7fng5vXE=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "8a2555763c48e2410054de3f52f7310ce3241ec5",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable-small",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"disko": "disko",
|
|
"flake-parts": "flake-parts",
|
|
"git-hooks": "git-hooks",
|
|
"nixos-generators": "nixos-generators",
|
|
"nixos-images": "nixos-images",
|
|
"nixpkgs": "nixpkgs",
|
|
"sops-nix": "sops-nix",
|
|
"treefmt-nix": "treefmt-nix"
|
|
}
|
|
},
|
|
"sops-nix": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-stable": []
|
|
},
|
|
"locked": {
|
|
"lastModified": 1716087663,
|
|
"narHash": "sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ=",
|
|
"owner": "Mic92",
|
|
"repo": "sops-nix",
|
|
"rev": "0bf1808e70ce80046b0cff821c019df2b19aabf5",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "Mic92",
|
|
"repo": "sops-nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"treefmt-nix": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1715940852,
|
|
"narHash": "sha256-wJqHMg/K6X3JGAE9YLM0LsuKrKb4XiBeVaoeMNlReZg=",
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"rev": "2fba33a182602b9d49f0b2440513e5ee091d838b",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|