organize modules
This commit is contained in:
parent
d7453265a1
commit
d0d4bf9ddb
21 changed files with 54 additions and 69 deletions
|
|
@ -1,23 +0,0 @@
|
|||
{ swapfile, ... }:
|
||||
{
|
||||
boot.supportedFilesystems = [
|
||||
"ext4"
|
||||
"btrfs"
|
||||
"vfat"
|
||||
"ntfs"
|
||||
"exfat"
|
||||
];
|
||||
|
||||
swapDevices =
|
||||
if swapfile == 0 then
|
||||
[ ]
|
||||
else
|
||||
[
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = swapfile;
|
||||
}
|
||||
];
|
||||
|
||||
services.fstrim.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue