Regenerated

This commit is contained in:
2026-05-05 11:16:44 +02:00
parent bbbee5efab
commit d6aabe52ba
4 changed files with 468 additions and 415 deletions
+406 -406
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -339,8 +339,8 @@ in
}
#+END_SRC
** =generated/hosts/traveldroid/boot.nix=
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never
** =generated/modules/system/boot.nix=
#+BEGIN_SRC nix :tangle generated/modules/system/boot.nix :noweb yes :mkdirp yes :eval never
{ config, pkgs, lib, flakeRoot, ... }:
{
boot.loader = {
@@ -361,8 +361,8 @@ in
boot.plymouth.enable = true;
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+11 -5
View File
@@ -1,5 +1,11 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ config, pkgs, lib, flakeRoot, ... }:
{
config,
pkgs,
lib,
flakeRoot,
...
}:
{
boot.loader = {
systemd-boot.enable = true;
@@ -19,8 +25,8 @@
boot.plymouth.enable = true;
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
@@ -37,10 +43,10 @@
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
};
};
@@ -0,0 +1,47 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ config, pkgs, lib, flakeRoot, ... }:
{
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot";
timeout = 5;
};
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.consoleLogLevel = 0;
# SUGGESTION: consider enabling initrd systemd — better plymouth integration
# and faster boot. Test it — it works well on most modern NixOS setups.
boot.initrd.systemd.enable = true;
boot.plymouth.enable = true;
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
# Power management
powerManagement.enable = true;
services.logind.settings.Login = {
HandleSleepKey = "ignore";
HandleSleepKeyLongPress = "ignore";
};
services.thermald.enable = true;
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
};
};
}