Compare commits

..

2 Commits

Author SHA1 Message Date
mandlm 907d306fc8
feat: override console font on p330 2024-01-15 08:12:22 +01:00
mandlm 7a5e17e8d8
feat: move tlp config to laptop configs 2024-01-15 08:11:48 +01:00
5 changed files with 10 additions and 4 deletions

View File

@ -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;

View File

@ -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;
} }

View File

@ -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";
} }

View File

@ -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;
} }

View File

@ -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;
} }