home: Extract emacs related config to module

This commit is contained in:
Alexander Kobjolke 2024-02-03 22:10:45 +01:00
parent e9b9a996e8
commit 16fcc510f6
10 changed files with 651 additions and 21 deletions

View file

@ -1,10 +1,7 @@
{ lib, config, pkgs, inputs, ... }: {
imports = [
({ inputs, lib, ... }: {
nixpkgs = {
config.allowUnfree = true;
overlays = with inputs; [ emacs.overlay ];
};
nixpkgs = { config.allowUnfree = true; };
nix.registry = lib.mapAttrs (_: value: { flake = value; }) inputs;
})
../../modules/security.nix