chore(nix): Inherit builtins at bottom

This commit is contained in:
Donovan Glover 2024-04-09 09:19:29 -04:00
parent 7b564db92d
commit bfd55ef40a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
5 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
{ nix-config, pkgs, lib, ... }:
let
inherit (builtins) attrValues;
inherit (lib) singleton;
inherit (builtins) attrValues;
in
{
imports = attrValues {

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
inherit (builtins) toJSON;
inherit (lib) singleton;
inherit (config.lib.stylix.colors) base00 base01 base04 base05 base09;
inherit (pkgs) ironbar inotify-tools;
inherit (builtins) toJSON;
mullvadScript = "ironbar/mullvad.fish";
mullvadNotification = "ironbar/mullvad-notification.fish";

View File

@ -5,9 +5,9 @@ let
inherit (lib.types) str float int;
inherit (config.modules.system) username;
inherit (cfg) bloat gnome plasma container theme opacity fontSize;
inherit (builtins) attrValues;
inherit (nix-config.packages.${pkgs.system}) aleo-fonts;
inherit (pkgs) phinger-cursors noto-fonts-cjk-sans maple-mono noto-fonts-emoji;
inherit (builtins) attrValues;
cfg = config.modules.desktop;
in

View File

@ -1,11 +1,11 @@
{ pkgs, config, lib, ... }:
let
inherit (builtins) toJSON;
inherit (lib) mkEnableOption mkIf getExe singleton;
inherit (pkgs) piper interception-tools;
inherit (pkgs.interception-tools-plugins) dual-function-keys;
inherit (cfg) mouseSettings disableLaptopKeyboard lidIgnore powerIgnore keyboardBinds;
inherit (builtins) toJSON;
dualFunctionKeysConfig = "dual-function-keys.yaml";

View File

@ -3,9 +3,9 @@
let
inherit (pkgs) fish;
inherit (lib) mkEnableOption mkIf mkMerge singleton;
inherit (builtins) attrValues;
inherit (cfg) postgres;
inherit (config.modules.system) username;
inherit (builtins) attrValues;
cfg = config.modules.shell;
in