forked from Shinonome/alt-illogical-impulse
9821e69f5c
✅ COMPLETE: Full NixOS-style configuration system implemented 🎯 Features: - Rich configuration options for Quickshell, Hyprland, and Terminal - Type-safe NixOS module options with defaults and descriptions - Generated configuration files from Nix expressions - Example configurations (gaming, productivity, minimalist) - Comprehensive documentation 🔧 Configuration Modules: - modules/components/quickshell-config.nix - Quickshell options - modules/components/hyprland-config.nix - Hyprland options - modules/components/terminal-config.nix - Terminal options 📝 Example Usage: programs.dots-hyprland = { quickshell.bar.utilButtons.showColorPicker = true; hyprland.general.gapsIn = 6; terminal.colors.alpha = 0.90; }; 🎨 Generated Files: - ~/.config/quickshell/ii/modules/common/Config.qml (NixOS-managed) - ~/.config/hypr/general.conf (NixOS-managed) - ~/.config/foot/foot.ini (NixOS-managed) ✅ Tested: All configurations build and activate successfully 🎉 Ready for production use with full NixOS declarative configuration!
76 lines
1.9 KiB
Nix
76 lines
1.9 KiB
Nix
# Gaming-optimized configuration for dots-hyprland
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
programs.dots-hyprland = {
|
|
enable = true;
|
|
source = ./configs;
|
|
packageSet = "essential";
|
|
mode = "declarative";
|
|
|
|
# 🎮 Gaming-optimized settings
|
|
quickshell = {
|
|
appearance = {
|
|
transparency = false; # Disable for performance
|
|
fakeScreenRounding = 0; # No rounding
|
|
};
|
|
|
|
bar = {
|
|
bottom = true; # Bottom bar for gaming
|
|
showBackground = false; # Minimal UI
|
|
verbose = false; # Less clutter
|
|
|
|
utilButtons = {
|
|
showScreenSnip = false;
|
|
showColorPicker = false;
|
|
showMicToggle = true; # Useful for gaming
|
|
showKeyboardToggle = false;
|
|
showDarkModeToggle = false;
|
|
showPerformanceProfileToggle = true; # Gaming profiles
|
|
};
|
|
|
|
workspaces = {
|
|
shown = 3; # Only 3 workspaces for gaming
|
|
showAppIcons = false; # Minimal
|
|
alwaysShowNumbers = true;
|
|
};
|
|
};
|
|
|
|
battery = {
|
|
low = 15; # Lower threshold for gaming
|
|
critical = 5;
|
|
automaticSuspend = false; # Never suspend while gaming
|
|
};
|
|
|
|
apps = {
|
|
terminal = "foot";
|
|
taskManager = "htop"; # Lightweight task manager
|
|
};
|
|
};
|
|
|
|
hyprland = {
|
|
general = {
|
|
gapsIn = 0; # No gaps for fullscreen gaming
|
|
gapsOut = 0;
|
|
borderSize = 1; # Minimal borders
|
|
allowTearing = true; # Enable for competitive gaming
|
|
};
|
|
|
|
decoration = {
|
|
rounding = 0; # No rounding for performance
|
|
blurEnabled = false; # Disable blur for performance
|
|
};
|
|
|
|
gestures = {
|
|
workspaceSwipe = false; # Disable gestures
|
|
};
|
|
};
|
|
|
|
terminal = {
|
|
colors = {
|
|
alpha = 1.0; # No transparency for performance
|
|
};
|
|
};
|
|
};
|
|
}
|