diff --git a/home/programs/default.nix b/home/programs/default.nix index 0348222..b97a1c1 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -12,6 +12,7 @@ ./fzf.nix ./gh.nix ./git.nix + ./glow.nix ./gpg.nix ./hyfetch.nix ./just.nix diff --git a/home/programs/glow.nix b/home/programs/glow.nix new file mode 100644 index 0000000..b3e3395 --- /dev/null +++ b/home/programs/glow.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: +let + toYaml = (pkgs.formats.yaml { }).generate; +in +{ + home.packages = with pkgs; [ + glow + ]; + + xdg.configFile."glow/glow.yml".source = toYaml "glow.yml" { + style = "pink"; + mouse = true; + pager = true; + width = 80; + }; +}