diff --git a/home/default.nix b/home/default.nix index 12c7ec2..2e48b45 100644 --- a/home/default.nix +++ b/home/default.nix @@ -4,6 +4,7 @@ ./bat ./bluetooth ./comma + ./dircolors ./direnv ./discord ./documentation diff --git a/home/dircolors/default.nix b/home/dircolors/default.nix new file mode 100644 index 0000000..876b413 --- /dev/null +++ b/home/dircolors/default.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: +let + cfg = config.my.home.dircolors; +in +{ + options.my.home.dircolors = with lib; { + enable = my.mkDisableOption "dircolors configuration"; + }; + + config = lib.mkIf cfg.enable { + programs.dircolors = { + enable = true; + }; + }; +} diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 3979159..994a652 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -104,9 +104,5 @@ in # Enable VTE integration enableVteIntegration = true; }; - - programs.dircolors = { - enable = true; - }; }; }