Skip to content

Commit

Permalink
Added perf + garbage collect
Browse files Browse the repository at this point in the history
garbage collect only works on generations.
See: NixOS/nix#2793

Also added perf package
  • Loading branch information
fzakaria committed Jun 5, 2024
1 parent f2eb9a7 commit 594e282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions machines/nyx/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
htop
amdgpu_top
signal-desktop
linuxPackages_latest.perf
];

# This option defines the first version of NixOS you have installed on this particular machine,
Expand Down
2 changes: 1 addition & 1 deletion modules/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
gc = {
automatic = true;
options = "--delete-older-than 14d";
dates = "daily";
dates = "weekly";
};

settings = {
Expand Down

0 comments on commit 594e282

Please sign in to comment.