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 = {
|
services.scx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
scheduler = "scx_lavd";
|
scheduler = "scx_lavd";
|
||||||
# extraArgs = ["--perf" "1024"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Get nicer hostname
|
# Get nicer hostname
|
||||||
|
|
@ -308,6 +307,7 @@
|
||||||
# crony.ollama.enable = true;
|
# crony.ollama.enable = true;
|
||||||
crony.sunshine.enable = true;
|
crony.sunshine.enable = true;
|
||||||
crony.bluetooth.enable = true;
|
crony.bluetooth.enable = true;
|
||||||
|
crony.localsend.enable = true;
|
||||||
|
|
||||||
# Setup spice usb redirection
|
# Setup spice usb redirection
|
||||||
virtualisation.spiceUSBRedirection.enable = true;
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./kanata.nix
|
./kanata.nix
|
||||||
./keyd.nix
|
./keyd.nix
|
||||||
|
./localsend.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
crony.bluetooth.enable = lib.mkDefault true;
|
crony.bluetooth.enable = lib.mkDefault true;
|
||||||
|
|
@ -58,4 +59,5 @@
|
||||||
crony.boot.enable = lib.mkDefault false;
|
crony.boot.enable = lib.mkDefault false;
|
||||||
crony.kanata.enable = lib.mkDefault false;
|
crony.kanata.enable = lib.mkDefault false;
|
||||||
crony.keyd.enable = lib.mkDefault true;
|
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