system/nixos/shared/headless.nix

13 lines
209 B
Nix
Raw Normal View History

2024-03-29 17:14:53 +03:00
{ inputs, ... }:
{
imports = [
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
];
environment.memoryAllocator.provider = "libc";
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
}