1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +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 homeManagerModule
] ++ collectNixFiles ./modules; ] ++ collectNixFiles ./modules;
specialArgs = { inherit self inputs keys; }; specialArgs = inputs // { inherit inputs keys; };
hosts = lib1.pipe (builtins.readDir ./hosts) [ hosts = lib1.pipe (builtins.readDir ./hosts) [
(lib1.filterAttrs (name: type: type == "regular" -> lib1.hasSuffix ".nix" name)) (lib1.filterAttrs (name: type: type == "regular" -> lib1.hasSuffix ".nix" name))

View file

@ -1,6 +1,4 @@
{ inputs, lib, pkgs, ... }: let { lib, pkgs, themes, ... }: {
inherit (inputs) themes;
in {
options.theme = lib.mkConst (themes.custom (themes.raw.gruvbox-dark-hard // { options.theme = lib.mkConst (themes.custom (themes.raw.gruvbox-dark-hard // {
cornerRadius = 8; cornerRadius = 8;
borderWidth = 2; borderWidth = 2;