organize modules

This commit is contained in:
Satria 2026-02-07 13:44:48 +07:00
commit d0d4bf9ddb
21 changed files with 54 additions and 69 deletions

View file

@ -0,0 +1,23 @@
{ swapfile, ... }:
{
boot.supportedFilesystems = [
"ext4"
"btrfs"
"vfat"
"ntfs"
"exfat"
];
swapDevices =
if swapfile == 0 then
[ ]
else
[
{
device = "/swapfile";
size = swapfile;
}
];
services.fstrim.enable = true;
}