mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-02-22 10:15:21 +01:00
refactor todo
This commit is contained in:
parent
23de88be3f
commit
5a89a33c6e
3
TODO.md
3
TODO.md
@ -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
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user