add more swap to cupsnet, as nix ci ooms
All checks were successful
use nix / build (push) Successful in 13m5s
All checks were successful
use nix / build (push) Successful in 13m5s
This commit is contained in:
parent
6bba9cf2b9
commit
d824128e33
1 changed files with 15 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
|||
{ config, pkgs, inputs, lib, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
|
||||
../cli.nix
|
||||
|
@ -20,8 +26,15 @@
|
|||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 100;
|
||||
memoryPercent = 50;
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 16384;
|
||||
}
|
||||
];
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue