summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-01-02 19:16:20 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-01-02 19:16:41 -0500
commitfb93af9eef4354ac3ba906130331785c4f53fe75 (patch)
treec334c5efe936605228e28be9a2e802ffca31ac90 /modules
parent30c7ac883c1ae2b89358fadbf05031c597e7e1e6 (diff)
Update and use emacs-gcc
Diffstat (limited to 'modules')
-rw-r--r--modules/common.nix12
-rw-r--r--modules/desktop.nix1
2 files changed, 9 insertions, 4 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;
diff --git a/modules/desktop.nix b/modules/desktop.nix
index a9b93ec..18bc6da 100644
--- a/modules/desktop.nix
+++ b/modules/desktop.nix
@@ -66,7 +66,6 @@ in {
discord
dmenu
dzen2
- emacs
ffmpeg
firefox-bin
haskellPackages.xmobar