feat(skadi): add localsend.
This commit is contained in:
parent
792a4e96b6
commit
2ac619adde
3 changed files with 19 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
16
modules/linux/nixos/localsend.nix
Normal file
16
modules/linux/nixos/localsend.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue