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 = [{
|
||||
device = "/persist/swapfile";
|
||||
size = 16 * 1024;
|
||||
}];
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateMode=shutdown
|
||||
'';
|
||||
# swapDevices = [{
|
||||
# device = "/persist/swapfile";
|
||||
# size = 16 * 1024;
|
||||
# }];
|
||||
#
|
||||
# systemd.sleep.extraConfig = ''
|
||||
# HibernateMode=shutdown
|
||||
# '';
|
||||
/*
|
||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||
systemd.sleep.extraConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue