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: {
|
outputs = { home-manager, nixpkgs, agenix, snm, ... }@inputs: {
|
||||||
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
({
|
({ inputs, ... }: {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = with inputs; [ emacs.overlay ];
|
overlays = with inputs; [ emacs.overlay ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue