feat(glow): Install & configure

This commit is contained in:
punkfairie 2024-11-14 19:59:38 -08:00
parent ef23b7ddf0
commit 039c23bd76
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
2 changed files with 17 additions and 0 deletions

View file

@ -12,6 +12,7 @@
./fzf.nix
./gh.nix
./git.nix
./glow.nix
./gpg.nix
./hyfetch.nix
./just.nix

16
home/programs/glow.nix Normal file
View file

@ -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;
};
}