anemone/kernel: disable swapfile and hibernation
This commit is contained in:
parent
4bd188cc64
commit
57afed24ed
1 changed files with 8 additions and 8 deletions
|
|
@ -23,14 +23,14 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [{
|
# swapDevices = [{
|
||||||
device = "/persist/swapfile";
|
# device = "/persist/swapfile";
|
||||||
size = 16 * 1024;
|
# size = 16 * 1024;
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
systemd.sleep.extraConfig = ''
|
# systemd.sleep.extraConfig = ''
|
||||||
HibernateMode=shutdown
|
# HibernateMode=shutdown
|
||||||
'';
|
# '';
|
||||||
/*
|
/*
|
||||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue