diff --git a/flake.nix b/flake.nix index 5b80e9d..708d2fd 100644 --- a/flake.nix +++ b/flake.nix @@ -166,7 +166,7 @@ homeManagerModule ] ++ collectNixFiles ./modules; - specialArgs = { inherit self inputs keys; }; + specialArgs = inputs // { inherit inputs keys; }; hosts = lib1.pipe (builtins.readDir ./hosts) [ (lib1.filterAttrs (name: type: type == "regular" -> lib1.hasSuffix ".nix" name)) diff --git a/options/theme.nix b/options/theme.nix index 7c3fb19..8c0be63 100644 --- a/options/theme.nix +++ b/options/theme.nix @@ -1,6 +1,4 @@ -{ inputs, lib, pkgs, ... }: let - inherit (inputs) themes; -in { +{ lib, pkgs, themes, ... }: { options.theme = lib.mkConst (themes.custom (themes.raw.gruvbox-dark-hard // { cornerRadius = 8; borderWidth = 2;