zramSwap.enable: lower priority

This commit is contained in:
Sean Buckley 2021-11-21 13:11:47 -05:00
parent dadc143751
commit b3a40a91c3

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
time.timeZone = "US/Eastern"; time.timeZone = "US/Eastern";
@ -19,7 +19,7 @@
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ]; systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
zramSwap.enable = true; zramSwap.enable = lib.mkDefault true;
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName); networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);