chore(stolas): cleanup config

This commit is contained in:
Tim Schubert 2025-07-27 00:22:20 +02:00
parent 618a4b3a73
commit 0909933ba9
No known key found for this signature in database

View file

@ -27,6 +27,7 @@
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ kernelParams = [
"resume=UUID=81dfbfa5-d578-479c-b11c-3ee5abd6848a" "resume=UUID=81dfbfa5-d578-479c-b11c-3ee5abd6848a"
"resume_offset=533760"
]; ];
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
# Lanzaboote currently replaces the systemd-boot module. # Lanzaboote currently replaces the systemd-boot module.
@ -70,10 +71,6 @@
powerManagement = { powerManagement = {
enable = true; enable = true;
cpuFreqGovernor = "schedutil"; cpuFreqGovernor = "schedutil";
# TODO: Limit charge of battery, does this work without kernel patches from hardware.frameworkenableKmod?
powerUpCommands = ''
echo 80 > /sys/class/power_supply/BAT0/charge_control_stop_threshold
'';
}; };
networking = { networking = {
@ -214,15 +211,6 @@
}; };
}; };
# TODO
# age.secrets = {
# paperless = {
# file = "${config.dadada.secrets.path}/paperless.age";
# mode = "700";
# owner = "paperless";
# };
# };
# Create compressing swap space in RAM # Create compressing swap space in RAM
zramSwap.enable = true; zramSwap.enable = true;
} }