mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-07 07:49:49 +01:00
nixos: use attrset for long function args
This commit is contained in:
parent
6daec44f40
commit
d14c5e57db
2 changed files with 6 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
|||
};
|
||||
|
||||
nixosModules = {
|
||||
nvf = import ./flake/modules/nixos.nix self.packages lib inputs;
|
||||
nvf = import ./flake/modules/nixos.nix {inherit lib self;};
|
||||
default = self.nixosModules.nvf;
|
||||
neovim-flake =
|
||||
lib.warn ''
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
# NixOS module
|
||||
packages: lib: inputs: {
|
||||
{
|
||||
self,
|
||||
lib,
|
||||
}: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (self) inputs packages;
|
||||
inherit (lib) maintainers;
|
||||
inherit (lib.modules) mkIf mkOverride mkAliasOptionModule;
|
||||
inherit (lib.lists) optional;
|
||||
|
|
Loading…
Reference in a new issue