refactor!: import modules recursively
|
|
@ -7,10 +7,10 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.my.bin;
|
||||
cycleSinks = import ./cycleSinks.nix { inherit pkgs; };
|
||||
protonge = import ./protonge.nix { inherit pkgs; };
|
||||
share = import ./share.nix { inherit pkgs; };
|
||||
sxhkdHelp = import ./sxhkdHelp.nix { inherit pkgs; };
|
||||
cycleSinks = import ./_cycleSinks.nix { inherit pkgs; };
|
||||
protonge = import ./_protonge.nix { inherit pkgs; };
|
||||
share = import ./_share.nix { inherit pkgs; };
|
||||
sxhkdHelp = import ./_sxhkdHelp.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
options.my.bin.enable = mkEnableOption "bin";
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = lib.my.listModules ./.;
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ let
|
|||
in
|
||||
{
|
||||
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-frappe")
|
||||
(import ./catppuccin.nix
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ let
|
|||
in
|
||||
{
|
||||
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-latte")
|
||||
(import ./catppuccin.nix
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ let
|
|||
in
|
||||
{
|
||||
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-macchiato")
|
||||
(import ./catppuccin.nix
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ let
|
|||
in
|
||||
{
|
||||
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-mocha")
|
||||
(import ./catppuccin.nix
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 5.2 MiB After Width: | Height: | Size: 5.2 MiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 4.6 MiB After Width: | Height: | Size: 4.6 MiB |
|
Before Width: | Height: | Size: 10 MiB After Width: | Height: | Size: 10 MiB |
|
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 501 KiB |
|
Before Width: | Height: | Size: 635 KiB After Width: | Height: | Size: 635 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |