forked from KptltD00M/nixy
Add new server modules and configurations for various services
- 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.
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cursorShaders = pkgs.fetchFromGitHub {
|
||||
owner = "sahaj-b";
|
||||
repo = "ghostty-cursor-shaders";
|
||||
rev = "06d4e90fb5410e9c4d0b3131584060adddf89406";
|
||||
hash = "sha256-G/UIr1bKnxn1AcHl/4FL/jou6b7M2VeREslYVELxdmw=";
|
||||
};
|
||||
c = config.lib.stylix.colors;
|
||||
in {
|
||||
home.sessionVariables = {
|
||||
TERMINAL = "ghostty";
|
||||
TERM = "ghostty";
|
||||
};
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
installVimSyntax = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
window-padding-x = 10;
|
||||
confirm-close-surface = false;
|
||||
window-padding-y = 10;
|
||||
clipboard-read = "allow";
|
||||
clipboard-write = "allow";
|
||||
copy-on-select = "clipboard";
|
||||
app-notifications = false;
|
||||
custom-shader = "${cursorShaders}/cursor_warp.glsl";
|
||||
custom-shader-animation = "always";
|
||||
keybind = [
|
||||
# "ctrl+j=goto_split:left"
|
||||
# "ctrl+i=goto_split:up"
|
||||
# "ctrl+k=goto_split:down"
|
||||
# "ctrl+l=goto_split:right"
|
||||
# "shift+ctrl+h=new_split:left"
|
||||
# "shift+ctrl+j=new_split:down"
|
||||
# "shift+ctrl+k=new_split:up"
|
||||
# "shift+ctrl+l=new_split:right"
|
||||
"shift+ctrl+tab=new_tab"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/ilovetui/config.yaml".text = ''
|
||||
colors:
|
||||
base00: "#${c.base00}" # Background
|
||||
base01: "#${c.base01}" # Lighter Background / Status Bars
|
||||
base02: "#${c.base02}" # Selection Background
|
||||
base03: "#${c.base03}" # Comments / Invisibles
|
||||
base04: "#${c.base04}" # Dark Foreground / Status Bars
|
||||
base05: "#${c.base05}" # Default Foreground
|
||||
base06: "#${c.base06}" # Light Foreground
|
||||
base07: "#${c.base07}" # Light Background
|
||||
base08: "#${c.base08}" # Variables / Errors / Diff Deleted
|
||||
base09: "#${c.base09}" # Integers / Constants / Booleans
|
||||
base0a: "#${c.base0A}" # Classes / Warnings / Search Background
|
||||
base0b: "#${c.base0B}" # Strings / Success / Diff Inserted
|
||||
base0c: "#${c.base0C}" # Support / Regex / Escape Characters
|
||||
base0d: "#${c.base0D}" # Functions / Methods / Headings / Accent
|
||||
base0e: "#${c.base0E}" # Keywords / Storage / Diff Changed
|
||||
base0f: "#${c.base0F}" # Embedded / Misc
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user