feat(skadi): add localsend.

This commit is contained in:
CronyAkatsuki 2026-01-01 14:12:24 +01:00
parent 792a4e96b6
commit 2ac619adde
3 changed files with 19 additions and 1 deletions

View file

@ -26,7 +26,6 @@
services.scx = {
enable = true;
scheduler = "scx_lavd";
# extraArgs = ["--perf" "1024"];
};
# Get nicer hostname
@ -308,6 +307,7 @@
# crony.ollama.enable = true;
crony.sunshine.enable = true;
crony.bluetooth.enable = true;
crony.localsend.enable = true;
# Setup spice usb redirection
virtualisation.spiceUSBRedirection.enable = true;

View file

@ -28,6 +28,7 @@
./boot.nix
./kanata.nix
./keyd.nix
./localsend.nix
];
crony.bluetooth.enable = lib.mkDefault true;
@ -58,4 +59,5 @@
crony.boot.enable = lib.mkDefault false;
crony.kanata.enable = lib.mkDefault false;
crony.keyd.enable = lib.mkDefault true;
crony.localsend.enable = lib.mkDefault false;
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}: {
options = {
crony.localsend.enable = lib.mkEnableOption "Enable and setup localsend";
};
config = lib.mkIf config.crony.localsend.enable {
programs.localsend = {
enable = true;
openFirewall = true;
};
};
}