feat: run ai agents on homelab (#251)

* feat: run ai agents on kana & ruby

* fix: upload vm
This commit is contained in:
Ryan Yin
2026-03-17 10:31:18 +08:00
committed by GitHub
parent 424b000ab5
commit 3dbc94c3de
11 changed files with 157 additions and 15 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# Idols - Kana
TODO
Run AI Agents
+8 -5
View File
@@ -14,8 +14,11 @@ let
inherit (myvars.networking) proxyGateway proxyGateway6 nameservers;
inherit (myvars.networking.hostsAddr.${hostName}) iface ipv4;
ipv4WithMask = "${ipv4}/24";
in {
imports = mylib.scanPaths ./.;
in
{
imports = [
../idols-ruby/packages.nix
];
# supported file systems, so we can mount any removable disks with these filesystems
boot.supportedFilesystems = [
@@ -29,7 +32,7 @@ in {
"exfat"
];
boot.kernelModules = ["kvm-amd"];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu
networking = {
@@ -44,9 +47,9 @@ in {
systemd.network.enable = true;
systemd.network.networks."10-${iface}" = {
matchConfig.Name = [iface];
matchConfig.Name = [ iface ];
networkConfig = {
Address = [ipv4WithMask];
Address = [ ipv4WithMask ];
DNS = nameservers;
DHCP = "ipv6"; # enable DHCPv6 only, so we can get a GUA.
IPv6AcceptRA = true; # for Stateless IPv6 Autoconfiguraton (SLAAC)
+3
View File
@@ -0,0 +1,3 @@
{
imports = [ ../idols-ruby/home.nix ];
}