diff --git a/hosts/radiobert/default.nix b/hosts/radiobert/default.nix index 7112a66f..973e2daf 100644 --- a/hosts/radiobert/default.nix +++ b/hosts/radiobert/default.nix @@ -131,5 +131,14 @@ ''; }; + systemd.extraConfig = '' + # Keep cores 2-3 exclusive for SDR processing + CPUAffinity=0-1 + ''; + systemd.services = { + soapysdr-server.serviceConfig.CPUAffinity = "2-2"; + readsdb.serviceConfig.CPUAffinity = "3-3"; + }; + system.stateVersion = "21.05"; # Did you read the comment? }