summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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