merged shared with darwin
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
emacsOverlaySha256 = "0pqnl05j86pyvrlqh5kk4sximi749xqgiffq47grw7v98nqd2yin";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home-manager.backupFileExtension = "nix-backup";
|
||||||
|
nixpkgs = {
|
||||||
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
allowBroken = true;
|
||||||
|
allowInsecure = false;
|
||||||
|
allowUnsupportedSystem = true;
|
||||||
|
permittedInsecurePackages = [
|
||||||
|
"electron-39.8.10"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
overlays =
|
||||||
|
let path = ../../overlays; in with builtins;
|
||||||
|
map (n: import (path + ("/" + n)))
|
||||||
|
(filter (n: match ".*\\.nix" n != null ||
|
||||||
|
pathExists (path + ("/" + n + "/default.nix")))
|
||||||
|
(attrNames (readDir path)))
|
||||||
|
|
||||||
|
++ [(import (builtins.fetchTarball {
|
||||||
|
url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
|
||||||
|
sha256 = emacsOverlaySha256;
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user