Files
MacNix-config/modules/darwin/default.nix
T

24 lines
645 B
Nix

{ config, pkgs, emacs-overlay, ... }:
{
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)))
++ [ emacs-overlay.overlays.default ];
};
}