nix: add nix-tree-rs and fast-nix-gc

This commit is contained in:
2026-08-15 15:55:29 +08:00
parent 2e4582219f
commit 6d6a93e64c
4 changed files with 102 additions and 5 deletions
Generated
+73
View File
@@ -157,6 +157,30 @@
"type": "github"
}
},
"fast-nix-gc": {
"inputs": {
"nix-darwin": "nix-darwin",
"nixpkgs": [
"nixpkgs"
],
"treefmt-nix": [
"treefmt"
]
},
"locked": {
"lastModified": 1786625301,
"narHash": "sha256-KNAjsTgfweOoqYxMAsIolrDcIV5AikvrSW9EpJ7fnK8=",
"owner": "Mic92",
"repo": "fast-nix-gc",
"rev": "254a2ba0a4f1570b3880bc10bb6166afe1e25936",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "fast-nix-gc",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": [
@@ -461,6 +485,53 @@
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
"fast-nix-gc",
"nixpkgs"
]
},
"locked": {
"lastModified": 1785389976,
"narHash": "sha256-0tLW8Ff5yt8AH97jw4ZpFJ0OCJ122zIlgWGDmOfU/VU=",
"owner": "nix-darwin",
"repo": "nix-darwin",
"rev": "15abb8c98f336cd8bd840d71059adebabe60bf04",
"type": "github"
},
"original": {
"owner": "nix-darwin",
"repo": "nix-darwin",
"type": "github"
}
},
"nix-tree-rs": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
],
"treefmt-nix": [
"treefmt"
]
},
"locked": {
"lastModified": 1786373799,
"narHash": "sha256-/MGTSKLPC6uERKHyilzRCVPDeX/AwG+4B8bf1vMHAJg=",
"owner": "Mic92",
"repo": "nix-tree-rs",
"rev": "31d54916fa110e9462fec799f1663224baddbadd",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-tree-rs",
"type": "github"
}
},
"nixos-wsl": {
"inputs": {
"flake-compat": [
@@ -593,6 +664,7 @@
"inputs": {
"angrr": "angrr",
"darkly": "darkly",
"fast-nix-gc": "fast-nix-gc",
"fenix": "fenix",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
@@ -605,6 +677,7 @@
"multiverse": "multiverse",
"my-templates": "my-templates",
"niri-nix": "niri-nix",
"nix-tree-rs": "nix-tree-rs",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_2",
"noctalia": "noctalia",
+11
View File
@@ -68,6 +68,11 @@
url = "github:Bali10050/Darkly";
inputs.nixpkgs.follows = "nixpkgs";
};
fast-nix-gc = {
url = "github:Mic92/fast-nix-gc";
inputs.nixpkgs.follows = "nixpkgs";
inputs.treefmt-nix.follows = "treefmt";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -84,6 +89,12 @@
url = "git+https://codeberg.org/bananad3v/niri-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-tree-rs = {
url = "github:Mic92/nix-tree-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "treefmt";
};
noctalia = {
url = "github:noctalia-dev/noctalia-shell/v4.7.5";
inputs.nixpkgs.follows = "nixpkgs";
+16 -5
View File
@@ -12,12 +12,23 @@
inputs.niri-nix.overlays.niri-nix
inputs.fenix.overlays.default
inputs.angrr.overlays.default
(final: prev: {
darkly-qt6 = inputs.darkly.packages.${final.stdenv.hostPlatform.system}.darkly-qt6;
noctalia-shell = inputs.noctalia.packages.${final.stdenv.hostPlatform.system}.default;
})
inputs.llm-agents.overlays.shared-nixpkgs
(
final: prev:
let
system = final.stdenv.hostPlatform.system;
in
{
darkly-qt6 = inputs.darkly.packages.${system}.darkly-qt6;
noctalia-shell = inputs.noctalia.packages.${system}.default;
nix-tree-rs = inputs.nix-tree-rs.packages.${system}.default;
fast-nix-gc = inputs.fast-nix-gc.packages.${system}.default.overrideAttrs {
doCheck = false;
};
}
)
];
config.allowUnfree = true;
flake.setNixPath = false;
+2
View File
@@ -30,6 +30,8 @@ in
environment.systemPackages = with pkgs; [
nix-output-monitor
nh
nix-tree-rs
fast-nix-gc
];
environment.etc = (