chore(stolas): cleanup config
This commit is contained in:
parent
618a4b3a73
commit
0909933ba9
1 changed files with 1 additions and 13 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue