1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

Make specialArgs = inputs // { inputs keys }

This commit is contained in:
RGBCube 2024-05-02 13:04:38 +03:00
parent 5400f05e4f
commit ed9b88275a
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -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))

View file

@ -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;