feat(glow): Install & configure
This commit is contained in:
parent
ef23b7ddf0
commit
039c23bd76
2 changed files with 17 additions and 0 deletions
|
@ -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
16
home/programs/glow.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue