feat: introduce treefmt and fmt all
This commit is contained in:
parent
80250b0179
commit
27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions
|
@ -3,17 +3,17 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
pkgsUnstable = import nodeFlake.inputs.nixpkgs-unstable {inherit (pkgs) system config;};
|
||||
in {
|
||||
}:
|
||||
let
|
||||
pkgsUnstable = import nodeFlake.inputs.nixpkgs-unstable { inherit (pkgs) system config; };
|
||||
in
|
||||
{
|
||||
nix.daemonCPUSchedPolicy = "idle";
|
||||
nix.daemonIOSchedClass = "idle";
|
||||
nix.settings.max-jobs = lib.mkDefault "auto";
|
||||
nix.settings.cores = lib.mkDefault 0;
|
||||
nix.settings.sandbox = true;
|
||||
nix.nixPath = [
|
||||
"nixpkgs=${pkgs.path}"
|
||||
];
|
||||
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
|
@ -32,7 +32,7 @@ in {
|
|||
nix.registry.nixpkgs.to = {
|
||||
type = "path";
|
||||
path = nodeFlake.inputs.nixpkgs.outPath;
|
||||
narHash = nodeFlake.inputs.nixpkgs.narHash;
|
||||
inherit (nodeFlake.inputs.nixpkgs) narHash;
|
||||
};
|
||||
|
||||
nix.package = pkgsUnstable.nixVersions.latest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue