move niri config to home modules and enable fuzzel

This commit is contained in:
ulic-youthlic 2025-01-14 19:09:46 +08:00
parent 50674e3a58
commit 74bd489187
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
5 changed files with 76 additions and 9 deletions

32
home/modules/fuzzel.nix Normal file
View file

@ -0,0 +1,32 @@
{ config, lib, ... }:
let
cfg = config.youthlic.programs.fuzzel;
in
{
options = {
youthlic.programs.fuzzel = {
enable = lib.mkEnableOption "fuzzel";
};
};
config = {
programs.fuzzel = lib.mkIf cfg.enable {
enable = true;
settings = {
main = {
font = "LXGW WenKai:size=11";
prompt = "'λ '";
dpi-aware = true;
};
colors = {
background = "282a36dd";
text = "f8f8f2ff";
match = "8be9fdff";
selection-match = "8be9fdff";
selection = "44475add";
selection-text = "f8f8f2ff";
border = "bd93f9ff";
};
};
};
};
}