Compare commits

..

No commits in common. "d4c0043a057d4fd05aea94c23470e419c12fef35" and "9340a365a7c61d996ee7686f5cca8bc879f893f5" have entirely different histories.

5 changed files with 27 additions and 58 deletions

View file

@ -2,7 +2,7 @@
services = {
thermald.enable = false;
throttled.enable = true;
power-profiles-daemon.enable = false; # replacement for tlp and auto-cpufreq due to bugs
power-profiles-daemon.enable = true; # replacement for tlp and auto-cpufreq due to bugs
tlp = {
enable = false; # buggy and inconsistent with frequency scaling
settings = {
@ -50,23 +50,17 @@
};
};
auto-cpufreq = {
enable = true; # wait for fix: https://github.com/AdnanHodzic/auto-cpufreq/issues/906
enable = false; # 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,9 +15,6 @@
kernel.sysctl."vm.laptop_mode" = 5;
initrd.availableKernelModules = [ "thinkpad_acpi" ];
};
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
hardware.bluetooth.enable = true;
services.hardware.bolt.enable = true;
}

View file

@ -24,36 +24,25 @@
light = "Catppuccin Mocha (sapphire)";
dark = "Catppuccin Mocha (sapphire)";
};
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}";
details = "In {workspace}";
large_image = "{base_icons_url}/{language:lo}.png";
large_text = "{language:u}";
small_image = "{base_icons_url}/zed.png";
small_text = "Zed";
git_integration = true;
idle = {
timeout = 300;
action = "change_activity";
state = "Idling";
details = "In Zed";
large_image = "{base_icons_url}/zed.png";
large_text = "Zed";
small_image = "{base_icons_url}/idle.png";
small_text = "Idle";
};
lsp.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}";
details = "In {workspace}";
large_image = "{base_icons_url}/{language:lo}.png";
large_text = "{language:u}";
small_image = "{base_icons_url}/zed.png";
small_text = "Zed";
git_integration = true;
idle = {
timeout = 300;
action = "change_activity";
state = "Idling";
details = "In Zed";
large_image = "{base_icons_url}/zed.png";
large_text = "Zed";
small_image = "{base_icons_url}/idle.png";
small_text = "Idle";
};
};
};

View file

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

View file

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