feat: Some vm stuff and rsyncd
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
./samba.nix
|
||||
./sunshine.nix
|
||||
./ollama.nix
|
||||
./rsyncd.nix
|
||||
];
|
||||
services = {
|
||||
hardware.openrgb.enable = true;
|
||||
|
||||
@@ -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;
|
||||
|
||||
19
nixos/ryu/services/rsyncd.nix
Normal file
19
nixos/ryu/services/rsyncd.nix
Normal 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];
|
||||
}
|
||||
Reference in New Issue
Block a user