Enable zram for all hosts
This commit is contained in:
parent
891ce0ce17
commit
2cbe48276e
2 changed files with 6 additions and 3 deletions
|
@ -33,6 +33,12 @@ with lib; {
|
|||
# Enable firmware updates.
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Enable zram swap.
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "lz4";
|
||||
};
|
||||
|
||||
# Set time zone.
|
||||
time.timeZone = "Australia/Perth";
|
||||
|
||||
|
|
|
@ -31,9 +31,6 @@ with lib; {
|
|||
binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
};
|
||||
|
||||
# Enable zram swap.
|
||||
zramSwap.enable = true;
|
||||
|
||||
# Enable smart card support (for YubiKey).
|
||||
services.pcscd.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue