optimizing

This commit is contained in:
Matt Nish-Lapidus 2024-10-01 21:18:52 -04:00
parent bdc9fa1221
commit 12b0f88de1
2 changed files with 60 additions and 31 deletions

View file

@ -5,15 +5,15 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
eza #eza
just just
fd #fd
fzf #fzf
bat #bat
jq jq
yt-dlp yt-dlp
htop #htop
ripgrep # ripgrep
erdtree erdtree
age age
figlet figlet
@ -25,7 +25,7 @@
zip zip
htop htop
owl owl
pass #pass
dconf dconf
gnupg gnupg
gcc gcc
@ -66,9 +66,9 @@
platformio-core platformio-core
borgmatic borgmatic
kanata-with-cmd kanata-with-cmd
wezterm #wezterm
lazygit lazygit
nnn #nnn
icloudpd icloudpd
jetbrains-mono jetbrains-mono
libheif libheif
@ -85,7 +85,7 @@
via via
bitwarden-cli bitwarden-cli
bitwarden-desktop bitwarden-desktop
rbw # rbw
tailscale tailscale
protonplus protonplus
@ -106,6 +106,7 @@
graphite-cursors graphite-cursors
papers papers
newsflash newsflash
planify
wineWowPackages.stagingFull wineWowPackages.stagingFull
wineWowPackages.fonts wineWowPackages.fonts
@ -213,6 +214,51 @@
epkgs.vterm epkgs.vterm
]; ];
}; };
rbw = {
enable = true;
settings = {
email = "matt@emenel.ca";
lock_timeout = 999999999;
pinentry = pkgs.gcr;
};
};
ripgrep = {
enable = true;
};
thefuck = {
enable = true;
enableFishIntegration = true;
};
wezterm = {
enable = true;
};
bat = {
enable = true;
};
borgmatic = {
enable = true;
};
eza = {
enable = true;
enableFishIntegration = true;
};
fd = {
enable = true;
};
fzf = {
enable = true;
enableFishIntegration = true;
};
git = {
enable = true;
lfs.enable = true;
};
htop.enable = true;
nnn = {
enable = true;
};
pandoc.enable = true;
password-store.enable = true;
}; };
dconf.settings = { dconf.settings = {
@ -285,6 +331,7 @@
"com.github.johnfactotum.QuickLookup" "com.github.johnfactotum.QuickLookup"
"com.heroicgameslauncher.hgl" "com.heroicgameslauncher.hgl"
"io.github.dyegoaurelio.simple-wireplumber-gui" "io.github.dyegoaurelio.simple-wireplumber-gui"
"io.github.dgsasha.Remembrance"
]; ];
home.file.".npmrc".source = ../dotfiles/dot_npmrc; home.file.".npmrc".source = ../dotfiles/dot_npmrc;

View file

@ -217,6 +217,8 @@
tlp tlp
]; ];
services.dbus.implementation = "broker";
#programs.gnupg.enable = true; #programs.gnupg.enable = true;
programs.git.enable = true; programs.git.enable = true;
@ -267,27 +269,7 @@
}; };
powerManagement.enable = true; powerManagement.enable = true;
services.power-profiles-daemon.enable = false; services.power-profiles-daemon.enable = true;
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 20;
#Optional helps save long term battery health
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
};
};
# powerManagement.powertop.enable = true; # powerManagement.powertop.enable = true;
# services.thermald.enable = true; # services.thermald.enable = true;