diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-01-02 19:16:20 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-01-02 19:16:41 -0500 |
commit | fb93af9eef4354ac3ba906130331785c4f53fe75 (patch) | |
tree | c334c5efe936605228e28be9a2e802ffca31ac90 /modules/common.nix | |
parent | 30c7ac883c1ae2b89358fadbf05031c597e7e1e6 (diff) |
Update and use emacs-gcc
Diffstat (limited to 'modules/common.nix')
-rw-r--r-- | modules/common.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/common.nix b/modules/common.nix index 5c725ba..26f96f7 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -33,7 +33,8 @@ coreutils direnv dnsutils - emacs + binutils + emacsPgtkGcc exa fd fzf @@ -88,14 +89,19 @@ maxJobs = lib.mkOverride 110 16; buildCores = lib.mkDefault 0; # auto configure gc.automatic = lib.mkDefault true; - trustedBinaryCaches = [ "https://cache.nixos.org" ]; - binaryCaches = trustedBinaryCaches; + binaryCaches = [ + "https://nix-community.cachix.org" + ]; + binaryCachePublicKeys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; daemonCPUSchedPolicy = "idle"; daemonIOSchedPriority = 10; package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; + autoOptimiseStore = true; }; boot.cleanTmpDir = true; |