improve size and swap for gateway

This commit is contained in:
soraefir
2026-06-21 23:09:33 +02:00
parent 473b290258
commit 6366d9b313
4 changed files with 24 additions and 3 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: {
{ config, inputs, lib, pkgs, ... }: {
nixpkgs.config = {
permittedInsecurePackages = [ ];
allowUnfree = true;
@@ -33,7 +33,9 @@
];
};
};
programs.nix-ld = {
programs.nix-ld = lib.mkIf (
config.syscfg.make.gui || config.syscfg.make.develop || config.syscfg.make.serverExtras
) {
enable = true;
libraries = with pkgs; [
libx11 libxcb libxi libxext libxkbfile xcbutilcursor