forked from KptltD00M/nixy
5082521524
- Introduced `default-creds` module for managing default credentials with Umami integration. - Added `fail2ban` module for brute-force attack protection with configurable ban times. - Created `firewall` module to enable and configure basic firewall settings. - Implemented `gitea` module for self-hosted Git service with PostgreSQL backend. - Developed `glance` module for a customizable dashboard with various widgets and themes. - Added `iknowyou` module for a self-hosted password manager with production and demo environments. - Introduced `kernel-hardening` module for enhancing kernel security settings. - Created `mazanoke` module for a simple web application with Nginx integration. - Added `mealie` module for a self-hosted meal planning application. - Implemented `stirling-pdf` module for PDF generation service. - Developed `umami` module for self-hosted analytics with secret management. - Added `ssh` module for secure SSH configuration with user restrictions. - Introduced `nixy` theme for a customized aesthetic experience across services.
34 lines
683 B
Nix
34 lines
683 B
Nix
# Fzf is a general-purpose command-line fuzzy finder.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
accent = "#" + config.lib.stylix.colors.base0D;
|
|
foreground = "#" + config.lib.stylix.colors.base05;
|
|
muted = "#" + config.lib.stylix.colors.base03;
|
|
in {
|
|
programs.fzf = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
colors = lib.mkForce {
|
|
"fg+" = accent;
|
|
"bg+" = "-1";
|
|
"fg" = foreground;
|
|
"bg" = "-1";
|
|
"prompt" = muted;
|
|
"pointer" = accent;
|
|
};
|
|
defaultOptions = [
|
|
"--margin=1"
|
|
"--layout=reverse"
|
|
"--border=none"
|
|
"--info='hidden'"
|
|
"--header=''"
|
|
"--prompt='/ '"
|
|
"-i"
|
|
"--no-bold"
|
|
];
|
|
};
|
|
}
|