Regenerated

This commit is contained in:
2026-05-05 11:18:00 +02:00
parent f73bf54c97
commit 040f2291d3
2 changed files with 505 additions and 505 deletions
+455 -455
View File
File diff suppressed because it is too large Load Diff
+50 -50
View File
@@ -339,56 +339,6 @@ in
} }
#+END_SRC #+END_SRC
** =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 = {
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";
};
};
}
#+END_SRC
** =generated/hosts/traveldroid/hardware-configuration.nix= ** =generated/hosts/traveldroid/hardware-configuration.nix=
1. Boot into NixOS Live ISO or your installed system. 1. Boot into NixOS Live ISO or your installed system.
2. Open a terminal. 2. Open a terminal.
@@ -1735,6 +1685,56 @@ in
} }
#+END_SRC #+END_SRC
** =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 = {
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";
};
};
}
#+END_SRC
** =generated/modules/system/copy_scripts.nix= ** =generated/modules/system/copy_scripts.nix=
This copies any scripts from /generated/.config/shared//scripts to ~/.config/shared/scripts and makes any .sh files executable. This copies any scripts from /generated/.config/shared//scripts to ~/.config/shared/scripts and makes any .sh files executable.
#+BEGIN_SRC nix :tangle generated/modules/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never #+BEGIN_SRC nix :tangle generated/modules/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never