1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/yofi/example-config.nix
2025-07-23 13:13:14 -05:00

41 lines
863 B
Nix

{
programs.yofi = {
enable = true;
settings = {
width = 400;
height = 512;
force_window = false;
corner_radius = "0";
font_size = 24;
bg_color = "0x272822ee";
bg_border_color = "0x131411ff";
input_text = {
font_color = "0xf8f8f2ff";
bg_color = "0x75715eff";
margin = "5";
padding = "1.7 -4";
};
};
blacklist = [
"firefox"
"librewolf"
"com.obsproject.Studio"
"com.rtosta.zapzap"
"cups"
"kitty-open"
"nvim"
];
};
nmt.script = ''
assertFileExists home-files/.config/yofi/yofi.config
assertFileExists home-files/.config/yofi/blacklist
assertFileContent home-files/.config/yofi/yofi.config \
${./yofi.config}
assertFileContent home-files/.config/yofi/blacklist \
${./blacklist}
'';
}