1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00
config/modules/common/shell/vivid.nix

8 lines
223 B
Nix

{ lib, pkgs, ... }: let
inherit (lib) getExe readFile;
in {
environment.variables.LS_COLORS = readFile <|
pkgs.runCommand "ls_colors.txt" {} ''
${getExe pkgs.vivid} generate gruvbox-dark-hard > $out
'';
}