From a2a227d9f3aa12f7090d10a3ffcebd606970a2e5 Mon Sep 17 00:00:00 2001 From: Sense T Date: Wed, 28 Jun 2023 11:20:08 +0800 Subject: [PATCH] wsproxy --- README.md | 2 +- global/software-configuration.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0336974..6504b81 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ nixos-rebuild switch --flake 'git+https://git.sense-t.eu.org/NixOS/gpd-configura ## Todo - [x] 无状态 `/` 分区 -- [ ] wsproxy on podman +- [x] wsproxy on podman - [x] waybar 微调 - [x] 使用 pipewire - [x] 电源选项 diff --git a/global/software-configuration.nix b/global/software-configuration.nix index 33ac06f..992d536 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -87,6 +87,8 @@ extraOptions = [ "--restart=always" + "--cpus=0.1" + "--memory-reservation=32m" ]; }; };