feat: Some vm stuff and rsyncd

This commit is contained in:
uttarayan21
2025-02-21 15:11:38 +05:30
parent 7b243d810d
commit a10ca460df
7 changed files with 55 additions and 103 deletions

View File

@@ -3,6 +3,7 @@
./samba.nix
./sunshine.nix
./ollama.nix
./rsyncd.nix
];
services = {
hardware.openrgb.enable = true;

View File

@@ -5,8 +5,7 @@
host = "127.0.0.1";
loadModels = ["deepseek-r1:7b" "deepseek-r1:14b"];
port = 11434;
package = pkgs.ollama-cuda;
# acceleration = "cuda";
acceleration = "cuda";
};
open-webui = {
enable = false;

View File

@@ -0,0 +1,19 @@
{...}: {
services.rsyncd = {
enable = false;
# openFirewall = true;
settings = {
media = {
path = "/media";
comment = "Media";
"read only" = true;
# "use chroot" = "no";
list = true;
uid = "root";
gid = "root";
};
};
};
networking.firewall.allowedTCPPorts = [873];
networking.firewall.allowedUDPPorts = [873];
}