1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-17 05:35:06 +01:00

jqp: add basic configuration test case

This commit is contained in:
Feliche-Demian Netliukh 2024-08-08 11:26:25 +01:00
parent 9c6055c6b8
commit 55e14f90ac
No known key found for this signature in database
4 changed files with 20 additions and 0 deletions

View file

@ -110,6 +110,7 @@ in import nmtSrc {
./modules/programs/ncmpcpp
./modules/programs/ne
./modules/programs/neomutt
./modules/programs/jqp
./modules/programs/neovim
./modules/programs/newsboat
./modules/programs/nheko

View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
programs = {
jqp.enable = true;
jqp.config = { theme.name = "catppuccin-frappe"; };
};
test.stubs.jqp = { };
nmt.script = ''
assertFileExists home-files/.jqp.yaml
assertFileContent home-files/.jqp.yaml \
${./basic-configuration.yaml}
'';
}

View file

@ -0,0 +1,2 @@
theme:
name: catppuccin-frappe

View file

@ -0,0 +1 @@
{ jqp-basic-configuration = ./basic-configuration.nix; }