mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
@@ -14,7 +14,11 @@ inputs:
|
||||
};
|
||||
nix.remote.slave = {};
|
||||
};
|
||||
services = { ollama = {}; beesd."/".loadAverage = 8; };
|
||||
services =
|
||||
{
|
||||
ollama = {};
|
||||
beesd."/" = { hashTableSizeMB = 16; loadAverage = 8; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ inputs:
|
||||
model.cluster.nodeType = "master";
|
||||
system =
|
||||
{
|
||||
fileSystems.mount.btrfs."/dev/disk/by-partlabel/srv2-node1-data1" =
|
||||
{ "/nix/persistent" = "/nix/persistent"; "/nix/nodatacow" = "/nix/nodatacow"; };
|
||||
nixpkgs.march = "znver3";
|
||||
network =
|
||||
{
|
||||
@@ -21,7 +19,11 @@ inputs:
|
||||
services =
|
||||
{
|
||||
xray.client.dnsmasq.extraInterfaces = [ "enp58s0" ];
|
||||
beesd = { "/".loadAverage = 8; "/nix/persistent" = { hashTableSizeMB = 128 * 10; loadAverage = 8; }; };
|
||||
beesd =
|
||||
{
|
||||
"/" = { hashTableSizeMB = 10 * 128; loadAverage = 8; };
|
||||
"/nix".hashTableSizeMB = 64;
|
||||
};
|
||||
xrdp = { enable = true; hostname = [ "srv2.chn.moe" ]; };
|
||||
samba = { hostsAllowed = ""; shares = { home.path = "/home"; root.path = "/"; }; };
|
||||
groupshare = {};
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
* 安装 node0 的系统
|
||||
* 安装 node1 的系统
|
||||
* 停止服务
|
||||
* 准备 node1 的 data
|
||||
* 准备 node0 的 data
|
||||
* 调整分区标识
|
||||
* 关机,交换硬盘
|
||||
* 启动 node1
|
||||
* 启动 node0,重新安装引导
|
||||
* 清理,scrub
|
||||
* 启用 raid
|
||||
Reference in New Issue
Block a user