Compare commits
2 Commits
2d2b646d34
...
907d306fc8
Author | SHA1 | Date | |
---|---|---|---|
907d306fc8 | |||
7a5e17e8d8 |
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@ -26,8 +26,6 @@
|
|||||||
powertop.enable = true;
|
powertop.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tlp.enable = true;
|
|
||||||
|
|
||||||
services.acpid = {
|
services.acpid = {
|
||||||
enable = true;
|
enable = true;
|
||||||
logEvents = true;
|
logEvents = true;
|
||||||
@ -62,7 +60,7 @@
|
|||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
font = "ter-u24n";
|
font = lib.mkDefault "ter-u24n";
|
||||||
keyMap = "de-latin1-nodeadkeys";
|
keyMap = "de-latin1-nodeadkeys";
|
||||||
packages = with pkgs; [ terminus_font ];
|
packages = with pkgs; [ terminus_font ];
|
||||||
earlySetup = true;
|
earlySetup = true;
|
||||||
|
@ -37,4 +37,6 @@
|
|||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
@ -44,4 +44,6 @@
|
|||||||
[{ device = "/dev/disk/by-uuid/b90199d6-05e8-4994-bf9d-7b07f10d583e"; }];
|
[{ device = "/dev/disk/by-uuid/b90199d6-05e8-4994-bf9d-7b07f10d583e"; }];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
console.font = "ter-u32n";
|
||||||
}
|
}
|
||||||
|
@ -63,4 +63,6 @@
|
|||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
@ -49,4 +49,6 @@
|
|||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
hardware.sensor.iio.enable = true;
|
hardware.sensor.iio.enable = true;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user