flake: pass inputs as special argument to modules

This commit is contained in:
Alexander Kobjolke 2023-07-29 19:55:19 +02:00
parent 40843d9338
commit a8cbaa1647

View file

@ -45,8 +45,9 @@
outputs = { home-manager, nixpkgs, agenix, snm, ... }@inputs: {
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
({
({ inputs, ... }: {
nixpkgs = {
config.allowUnfree = true;
overlays = with inputs; [ emacs.overlay ];