nixos: fix missing inputs.self

see previous commit for details
This commit is contained in:
Ching Pei Yang 2025-02-16 12:02:15 +01:00
commit 8b8720c71f
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@
};
nixosModules = {
nvf = import ./flake/modules/nixos.nix {inherit lib self;};
nvf = import ./flake/modules/nixos.nix {inherit lib inputs;};
default = self.nixosModules.nvf;
neovim-flake =
lib.warn ''

View file

@ -1,13 +1,13 @@
# NixOS module
{
self,
inputs,
lib,
}: {
config,
pkgs,
...
}: let
inherit (self) inputs packages;
inherit (inputs.self) packages;
inherit (lib) maintainers;
inherit (lib.modules) mkIf mkOverride mkAliasOptionModule;
inherit (lib.lists) optional;