Compare commits
2 Commits
b2e513857c
...
7ae2517c04
Author | SHA1 | Date | |
---|---|---|---|
7ae2517c04 | |||
308de58100 |
@ -21,6 +21,14 @@
|
|||||||
boot.tmpOnTmpfs = true;
|
boot.tmpOnTmpfs = true;
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
|
services.tlp.extraConfig = ''
|
||||||
|
START_CHARGE_THRESH_BAT0=85
|
||||||
|
STOP_CHARGE_THRESH_BAT0=90
|
||||||
|
CPU_SCALING_GOVERNOR_ON_BAT=powersave
|
||||||
|
ENERGY_PERF_POLICY_ON_BAT=powersave
|
||||||
|
'';
|
||||||
|
|
||||||
# NVIDIA
|
# NVIDIA
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia.optimus_prime.enable = true;
|
hardware.nvidia.optimus_prime.enable = true;
|
||||||
|
@ -79,7 +79,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = { EDITOR = "nvim"; };
|
environment.variables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
SPACESHIP_TIME_SHOW = "true";
|
||||||
|
SPACESHIP_BATTERY_THRESHOLD = "50";
|
||||||
|
SPACESHIP_EXIT_CODE_SHOW = "true";
|
||||||
|
};
|
||||||
|
|
||||||
nix.gc.automatic = true;
|
nix.gc.automatic = true;
|
||||||
nix.gc.options = "--delete-older-than 15d";
|
nix.gc.options = "--delete-older-than 15d";
|
||||||
|
Loading…
Reference in New Issue
Block a user