refactor todo

This commit is contained in:
Daniel Langbein 2025-02-15 20:55:57 +01:00
parent 23de88be3f
commit 5a89a33c6e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
3 changed files with 10 additions and 17 deletions

View File

@ -2,6 +2,9 @@
This document contains ideas about possible extensions or improvements of my NixOS configuration. Many more TODOs can be found as comments inside other files of this repository. This document contains ideas about possible extensions or improvements of my NixOS configuration. Many more TODOs can be found as comments inside other files of this repository.
- Motivation behind bare bones systemd-based initrd: https://github.com/NixOS/nixpkgs/pull/164943
- `boot.initrd.systemd.enable = true;`
* Monthly BTRFS scrub * Monthly BTRFS scrub
* Drives @yodaNas, @yodaHedgehog reach about 45°C * Drives @yodaNas, @yodaHedgehog reach about 45°C
* Control case fan speed by drive temp * Control case fan speed by drive temp

View File

@ -59,15 +59,6 @@
#yoda.btrfsMounts = yoda.btrfsFileSystems; #yoda.btrfsMounts = yoda.btrfsFileSystems;
fileSystems."/mnt/512gb".options = [ "noatime" "commit=60" ]; # Ext4 fileSystems."/mnt/512gb".options = [ "noatime" "commit=60" ]; # Ext4
# Fix touchpad/keyboard issue during boot.
# TODO neither touch nor keyboard work
# TODO try again with initrd.systemd.enable, see below. but disable Plymouth in that case
#boot.initrd.unl0kr.enable = true;
# TODO
# Motivation behind bare bones systemd-based initrd: https://github.com/NixOS/nixpkgs/pull/164943
#boot.initrd.systemd.enable = true;
boot.kernelParams = [ boot.kernelParams = [
# If the CPU is vulnerable, enable all available mitigations # If the CPU is vulnerable, enable all available mitigations
# except `nosmt` as we don't run any VMs on this machine. # except `nosmt` as we don't run any VMs on this machine.

View File

@ -77,17 +77,16 @@ in
# We found no non-graphical solution to print the contact info with systemd initrd. # We found no non-graphical solution to print the contact info with systemd initrd.
# Workaround: Run a dummy service that has the contact info as service name ... # Workaround: Run a dummy service that has the contact info as service name ...
# #
# Alternative: Use Plymouth for a graphical boot splash screen. # Alternative for non-headless devices: Use Plymouth for a graphical boot splash screen.
# TODO: Only on graphical installations!
# #
# To see the splash screen. https://wiki.archlinux.org/title/Plymouth#Installation # To see the splash screen. https://wiki.archlinux.org/title/Plymouth#Installation
#boot.kernelParams = [ "splash" ]; #boot.kernelParams = [ "splash" ];
# #
boot.plymouth = lib.mkIf (config.boot.initrd.systemd.enable) { # boot.plymouth = lib.mkIf (config.boot.initrd.systemd.enable) {
enable = true; # enable = true;
#theme = "breeze"; # #theme = "breeze";
logo = "${contact-info-img}/img.png"; # logo = "${contact-info-img}/img.png";
}; # };
# Print contact info as text during boot. # Print contact info as text during boot.
boot.initrd.preDeviceCommands = lib.mkIf (! config.boot.initrd.systemd.enable) '' boot.initrd.preDeviceCommands = lib.mkIf (! config.boot.initrd.systemd.enable) ''
@ -99,7 +98,7 @@ in
# TODO: cleanup # TODO: cleanup
# #
# TODO: systemd service output is not displayed during boot. onyl [info] service xxx started # TODO: systemd service output is not displayed during boot. only [info] service xxx started
# #
# # https://github.com/oxalica/nixpkgs/blob/3562c1d5c6ff868924fe95ba7b51344f3c141311/nixos/modules/config/console.nix#L158 # # https://github.com/oxalica/nixpkgs/blob/3562c1d5c6ff868924fe95ba7b51344f3c141311/nixos/modules/config/console.nix#L158