Optimisations
- Remove gpg from system-wide settings (we have it in home manager too). - Try different gc settings.
This commit is contained in:
parent
d5da9b28e3
commit
7d69b17cca
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nix-collect-garbage -d
|
||||
sudo rm /nix/var/nix/gcroots/auto/*
|
||||
nix-store --gc
|
|
@ -42,21 +42,18 @@
|
|||
nix = {
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
package = pkgs.nixFlakes;
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
services.openssh = {
|
||||
|
|
Loading…
Reference in New Issue