thrall: Combine two inlined modules

This commit is contained in:
Alexander Kobjolke 2023-08-01 15:34:19 +02:00
parent a8cbaa1647
commit f8411ac7e9

View file

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