flake: pass inputs as special argument to modules
This commit is contained in:
parent
40843d9338
commit
a8cbaa1647
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue