tweaks, move stuff to home manager
This commit is contained in:
parent
87b4ab23ff
commit
60f90ff094
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue