mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
chore(nix): Inherit builtins at bottom
This commit is contained in:
parent
7b564db92d
commit
bfd55ef40a
@ -1,8 +1,8 @@
|
||||
{ nix-config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (builtins) attrValues;
|
||||
inherit (lib) singleton;
|
||||
inherit (builtins) attrValues;
|
||||
in
|
||||
{
|
||||
imports = attrValues {
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user