mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat(callisto): reduce swapfile from 32gb -> 4gb
This commit is contained in:
parent
7cff32c359
commit
a9de0fa50e
2 changed files with 11 additions and 7 deletions
|
@ -49,6 +49,17 @@
|
|||
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85"
|
||||
'';
|
||||
|
||||
swapDevices =
|
||||
let
|
||||
gb = x: x * 1024;
|
||||
in
|
||||
[
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = gb 4;
|
||||
}
|
||||
];
|
||||
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue