hyfetch: add module

This commit is contained in:
Lily Foster 2022-08-01 11:03:41 -04:00 committed by Robert Helgesson
parent 7146638e9e
commit d1c677ac25
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
8 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1 @@
{ hyfetch-settings = ./settings.nix; }

View file

@ -0,0 +1,11 @@
{
"color_align": {
"custom_colors": [],
"fore_back": null,
"mode": "horizontal"
},
"light_dark": "dark",
"lightness": 0.5,
"mode": "rgb",
"preset": "rainbow"
}

View file

@ -0,0 +1,25 @@
{ ... }:
{
programs.hyfetch = {
enable = true;
settings = {
preset = "rainbow";
mode = "rgb";
light_dark = "dark";
lightness = 0.5;
color_align = {
mode = "horizontal";
custom_colors = [ ];
fore_back = null;
};
};
};
test.stubs.hyfetch = { };
nmt.script = ''
assertFileContent home-files/.config/hyfetch.json ${./hyfetch.json}
'';
}