mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
desktop, laptop, srv-core: Enable discards on the swap partition
This commit is contained in:
parent
7f6a6772dd
commit
97e5601cf2
3 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,10 @@
|
|||
partitions = {
|
||||
swap = {
|
||||
size = "8G";
|
||||
content.type = "swap";
|
||||
content = {
|
||||
type = "swap";
|
||||
discardPolicy = "both";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue