tidy up
This commit is contained in:
parent
eaa734e091
commit
64ef819cfb
2 changed files with 32 additions and 53 deletions
|
|
@ -10,48 +10,11 @@
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
## trim to keep SSDs healthy-ish
|
|
||||||
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 = {
|
||||||
#};
|
#};
|
||||||
gc = {
|
gc = {
|
||||||
## 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 3d";
|
options = "--delete-older-than 3d";
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
## commented out disko for now as I have broken it :D
|
## Commented out disko for now as I have broken it :c
|
||||||
#./disko.nix
|
#./disko.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
## for some reason GPT/UEFI didn't work, so neither does systemd-boot
|
## For some reason GPT/UEFI didn't work, so neither does systemd-boot
|
||||||
## stuck using MBR/DOS and GRUB instead
|
## stuck using MBR/DOS and GRUB instead
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -48,18 +48,34 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
## 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 = {
|
hardware = {
|
||||||
## Pick either "true" OR "lib.mkDefault -"
|
## Pick either "true" OR "lib.mkDefault -"
|
||||||
#cpu.intel.updateMicrocode = true;
|
|
||||||
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
#cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
|
|
||||||
bluetooth.enable = false;
|
bluetooth.enable = false;
|
||||||
|
|
||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
## packages for integrated graphics inside Hades
|
## Packages for integrated graphics inside Hades
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-compute-runtime
|
intel-compute-runtime
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
|
|
@ -70,7 +86,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## some packages for managing the radeon GPU inside Hades
|
## Some packages for managing the radeon GPU inside Hades
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
umr
|
umr
|
||||||
radeontop
|
radeontop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue