tweaks, move stuff to home manager

This commit is contained in:
Nathan McCarty 2025-01-28 21:25:49 -05:00
parent 87b4ab23ff
commit 60f90ff094
2 changed files with 22 additions and 6 deletions

View file

@ -17,8 +17,18 @@
calibre
# Utility
protonvpn-gui
# Browser
firefoxpwa
ungoogled-chromium
];
programs.firefox = {
enable = true;
nativeMessagingHosts = with pkgs; [
kdePackages.plasma-browser-integration
];
};
services.syncthing = {
enable = true;
tray = {
@ -37,4 +47,13 @@
};
};
};
# Refresh the KDE applications cache, this really should be in upstream home
# manager, but its not for some reason
home.activation = {
kdeApplicationCache = lib.hm.dag.entryAfter ["installPackages"] ''
run rm ~/.cache/ksycoca6_* -rf
run kbuildsycoca6
'';
};
}

View file

@ -148,9 +148,6 @@
extraGroups = ["networkmanager"];
};
# Install firefox.
programs.firefox.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -158,8 +155,8 @@
libinput
maliit-keyboard
dconf-editor
iptsd
surface-control
ungoogled-chromium
];
# Setup iptsd for touch and stylus support
@ -179,7 +176,7 @@
# Other power saving goodies
hardware.enableAllFirmware = true;
services.tlp = {
enable = true;
enable = false;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
@ -189,7 +186,7 @@
};
};
powerManagement.enable = true;
services.power-profiles-daemon.enable = false;
services.power-profiles-daemon.enable = true;
services.cpupower-gui.enable = true;
# Nvidia gpu setup