tweaks, move stuff to home manager
This commit is contained in:
parent
87b4ab23ff
commit
60f90ff094
|
@ -17,8 +17,18 @@
|
||||||
calibre
|
calibre
|
||||||
# Utility
|
# Utility
|
||||||
protonvpn-gui
|
protonvpn-gui
|
||||||
|
# Browser
|
||||||
|
firefoxpwa
|
||||||
|
ungoogled-chromium
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
nativeMessagingHosts = with pkgs; [
|
||||||
|
kdePackages.plasma-browser-integration
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tray = {
|
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"];
|
extraGroups = ["networkmanager"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Install firefox.
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -158,8 +155,8 @@
|
||||||
libinput
|
libinput
|
||||||
maliit-keyboard
|
maliit-keyboard
|
||||||
dconf-editor
|
dconf-editor
|
||||||
|
iptsd
|
||||||
surface-control
|
surface-control
|
||||||
ungoogled-chromium
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Setup iptsd for touch and stylus support
|
# Setup iptsd for touch and stylus support
|
||||||
|
@ -179,7 +176,7 @@
|
||||||
# Other power saving goodies
|
# Other power saving goodies
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
@ -189,7 +186,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
services.power-profiles-daemon.enable = false;
|
services.power-profiles-daemon.enable = true;
|
||||||
services.cpupower-gui.enable = true;
|
services.cpupower-gui.enable = true;
|
||||||
|
|
||||||
# Nvidia gpu setup
|
# Nvidia gpu setup
|
||||||
|
|
Loading…
Reference in a new issue