Set up cachix as emacs-overlay binary cache
This commit is contained in:
parent
f0ae1f74cd
commit
1223542226
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
nix = {
|
||||
binaryCaches = [ "https://nix-community.cachix.org" ];
|
||||
binaryCachePublicKeys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
}
|
|
@ -103,6 +103,7 @@
|
|||
./modules/printing.nix
|
||||
./modules/periodic.nix
|
||||
./modules/power.nix
|
||||
./modules/cachix.nix
|
||||
./overlays/emacs-overlay.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
# WARN: this file will get overwritten by $ cachix use <name>
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
folder = ../cachix;
|
||||
toImport = name: value: folder + ("/" + name);
|
||||
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
|
||||
imports = lib.mapAttrsToList toImport
|
||||
(lib.filterAttrs filterCaches (builtins.readDir folder));
|
||||
in {
|
||||
inherit imports;
|
||||
nix.binaryCaches = [ "https://cache.nixos.org/" ];
|
||||
}
|
|
@ -37,7 +37,6 @@
|
|||
podman-compose
|
||||
shellcheck
|
||||
shfmt
|
||||
android-studio
|
||||
gnumake
|
||||
nodePackages.pyright
|
||||
black
|
||||
|
@ -75,6 +74,8 @@
|
|||
zip
|
||||
unzip
|
||||
unrar
|
||||
# Overlays
|
||||
cachix
|
||||
];
|
||||
|
||||
# Fonts declaration
|
||||
|
|
Loading…
Reference in New Issue