mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-10 17:02:43 +02:00
nixUtils: migrated multiple packages to separate file
This commit is contained in:
1 parent
1ceed7d7d2
commit
30a42af639
2 files changed
+20
-19
No files matched your search
@@ -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
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user