update and tidy to hades and persephone configs
This commit is contained in:
parent
4eabd0fe7b
commit
c2b3a1324c
2 changed files with 40 additions and 6 deletions
|
|
@ -13,6 +13,40 @@
|
||||||
## trim to keep SSDs healthy-ish
|
## trim to keep SSDs healthy-ish
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
|
#powerManagement = {
|
||||||
|
#enable = true;
|
||||||
|
|
||||||
|
#powertop.enable = true;
|
||||||
|
|
||||||
|
#cpuFreqGovernor = Lib.mkDefault "performance";
|
||||||
|
|
||||||
|
#cpufreq = {
|
||||||
|
#min = 1500000;
|
||||||
|
#max = 4400000;
|
||||||
|
#};
|
||||||
|
#};
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
|
||||||
|
cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
|
enableAllFirmware = false;
|
||||||
|
|
||||||
|
#bluetooth.enable = true;
|
||||||
|
|
||||||
|
opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
intel-compute-runtime
|
||||||
|
intel-media-driver
|
||||||
|
vaapiIntel
|
||||||
|
vaapiVdpau
|
||||||
|
libvdpau-va-gl
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
#settings = {
|
#settings = {
|
||||||
#};
|
#};
|
||||||
|
|
@ -20,7 +54,7 @@
|
||||||
## every day, automatically collect garbage older than 10 days
|
## every day, automatically collect garbage older than 10 days
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
options = "--delete-older-than 10d";
|
options = "--delete-older-than 3d";
|
||||||
persistent = true;
|
persistent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue