mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 02:32:37 +08:00
perf
This commit is contained in:
parent
824d086586
commit
6fdba340ac
5 changed files with 16 additions and 7 deletions
|
|
@ -22,7 +22,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
acpi
|
||||
mpv
|
||||
pulsemixer
|
||||
xorg.xmessage
|
||||
xclip
|
||||
];
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
# Apps I use on desktops and laptops
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
|
||||
vscode
|
||||
vlc
|
||||
steam
|
||||
qbittorrent
|
||||
|
||||
# X stuff
|
||||
|
|
@ -15,8 +15,4 @@
|
|||
arandr
|
||||
autorandr
|
||||
];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/47932#issuecomment-447508411
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
}
|
||||
|
|
|
|||
9
features/desktopish/steam.nix
Normal file
9
features/desktopish/steam.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
steam
|
||||
];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/47932#issuecomment-447508411
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
}
|
||||
1
home.nix
1
home.nix
|
|
@ -27,6 +27,7 @@ rec {
|
|||
fzf
|
||||
aria2
|
||||
wol
|
||||
pulsemixer
|
||||
# ^ easy to forget these; write SRS?
|
||||
|
||||
hledger
|
||||
|
|
|
|||
|
|
@ -20,7 +20,11 @@
|
|||
device = "/dev/disk/by-uuid/B3E6-2C4C";
|
||||
fsType = "vfat";
|
||||
};
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
# X1C7 throttling is already shit, so put this in performance mode.
|
||||
# See also: https://discourse.nixos.org/t/how-to-switch-cpu-governor-on-battery-power/8446/5
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
|
||||
# high-resolution display
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
services.xserver.dpi = 170;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue