diff --git a/flake.nix b/flake.nix index 633ac3e..02cdac8 100644 --- a/flake.nix +++ b/flake.nix @@ -47,16 +47,13 @@ system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ - ({ inputs, ... }: { + ({ inputs, lib, ... }: { nixpkgs = { config.allowUnfree = true; overlays = with inputs; [ emacs.overlay ]; }; + nix.registry = lib.mapAttrs (_: value: { flake = value; }) inputs; }) - { - nix.registry = - nixpkgs.lib.mapAttrs (_: value: { flake = value; }) inputs; - } snm.nixosModule ./modules/security.nix ./hosts/thrall