nixUtils: migrated multiple packages to separate file

This commit is contained in:
2026-05-17 09:12:47 +02:00
parent 1ceed7d7d2
commit 30a42af639
2 changed files with 20 additions and 19 deletions
+20 -4
View File
@@ -1,12 +1,9 @@
{
config,
pkgs,
pkgs-unstable,
libs,
inputs,
...
}: {
# Garbage collector of generations
# Garbage collector of generations
nix.gc = {
automatic = true;
dates = "weekly";
@@ -15,4 +12,23 @@
# nixpkgs-review crashed my laptop multiple times.
nix.settings.max-jobs = 2;
nix.settings.cores = 2;
#manix is unhappy without this
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
"home-manager=${inputs.home-manager.outPath}"
];
#adds nixos experimental features:
nix.settings.experimental-features = ["nix-command" "flakes"];
environment.systemPackages = with pkgs-unstable; [
nixpkgs-review
nixfmt-tree
treefmt
nixd
manix
deadnix
alejandra
];
}