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