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