Compare commits

...

3 commits

Author SHA1 Message Date
d4c0043a05 tailwind support 2026-02-18 21:20:08 +07:00
9cd171ba1a rice tweaks 2026-02-18 21:20:02 +07:00
7b899e71f6 optimizations 2026-02-18 21:19:55 +07:00
5 changed files with 58 additions and 27 deletions

View file

@ -2,7 +2,7 @@
services = {
thermald.enable = false;
throttled.enable = true;
power-profiles-daemon.enable = true; # replacement for tlp and auto-cpufreq due to bugs
power-profiles-daemon.enable = false; # replacement for tlp and auto-cpufreq due to bugs
tlp = {
enable = false; # buggy and inconsistent with frequency scaling
settings = {
@ -50,17 +50,23 @@
};
};
auto-cpufreq = {
enable = false; # wait for fix: https://github.com/AdnanHodzic/auto-cpufreq/issues/906
enable = true; # wait for fix: https://github.com/AdnanHodzic/auto-cpufreq/issues/906
settings = {
charger = {
governor = "performance";
energy_performance_preference = "performance";
turbo = "auto";
platform_profile = "performance";
scaling_min_freq = 800000;
scaling_max_freq = 3600000;
};
battery = {
governor = "powersave";
energy_performance_preference = "power";
platform_profile = "low-power";
turbo = "never";
scaling_min_freq = 400000;
scaling_max_freq = 1000000;
};
};
};

View file

@ -15,6 +15,9 @@
kernel.sysctl."vm.laptop_mode" = 5;
initrd.availableKernelModules = [ "thinkpad_acpi" ];
};
hardware.bluetooth.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
services.hardware.bolt.enable = true;
}

View file

@ -24,7 +24,17 @@
light = "Catppuccin Mocha (sapphire)";
dark = "Catppuccin Mocha (sapphire)";
};
lsp.discord_presence.initialization_options = {
languages.CSS.language_servers = [
"tailwindcss-intellisense-css"
"!vscode-css-language-server"
"..."
];
lsp = {
tailwindcss-language-server.settings = {
classFunctions = [ "cva" "cx" ];
experimental.classRegex = [ "[cls|className]\\s\\:\\=\\s\"([^\"]*)" ];
};
discord_presence.initialization_options = {
application_id = "1263505205522337886";
base_icons_url = "https://raw.githubusercontent.com/xhyrom/zed-discord-presence/main/assets/icons/";
state = "Working on {filename}";
@ -47,4 +57,5 @@
};
};
};
};
}

View file

@ -5,8 +5,8 @@
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false;
package = pkgs.hyprland; # inputs.hl.packages."${pkgs.system}".hyprland;
systemd.enable = false;
xwayland.enable = true;
settings = {
debug = {

View file

@ -1,10 +1,10 @@
{ lib, pkgs, ctp-opt, ... }: {
{ lib, pkgs, ctp-opt, rice, ... }: {
catppuccin = {
enable = true;
hyprlock.useDefaultConfig = false;
hyprland.accent = ctp-opt.primary;
flavor = ctp-opt.flavor;
accent = ctp-opt.accent;
enable = true;
};
dconf = {
@ -38,5 +38,16 @@
accent = ctp-opt.accent;
};
};
qt6ctSettings = {
Appearance = {
style = "kvantum";
icon_theme = "Papirus-Dark";
standar_dialogs = "xdgdesktopportal";
};
Fonts = {
fixed = "${rice.font},12";
general = "${rice.font},12";
};
};
};
}