Files
dotfiles/modules/applications/vicinae.nix
T
2026-07-06 19:03:45 +09:00

62 lines
1.4 KiB
Nix

{
inputs,
pkgs,
lib,
config,
...
}:
let
cfg = config.my.applications.vicinae;
in
{
options.my.applications.vicinae = {
enable = lib.mkEnableOption "Vicinae application launcher";
};
config = lib.mkIf cfg.enable {
home-manager.sharedModules = [
inputs.vicinae.homeManagerModules.default
{
services.vicinae = {
enable = true;
systemd = {
enable = true;
autoStart = true;
environment = {
USE_LAYER_SHELL = 1;
};
};
settings = {
font.size = 11;
close_on_focus_loss = true;
consider_preedit = true;
pop_to_root_on_close = true;
favicon_service = "twenty";
search_files_in_root = true;
theme = {
light = {
name = "dracula";
icon_theme = "default";
};
dark = {
name = "vicinae-light";
icon_theme = "default";
};
};
window = {
csd = true;
opacity = 0.95;
rounding = 10;
};
};
extensions = with inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system}; [
nix
power-profile
];
};
}
];
};
}