This commit is contained in:
Lilith 2025-05-27 00:09:41 +02:00
parent 0eda23c86b
commit 78976b8ac3
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
3 changed files with 12 additions and 1 deletions

9
system/optional/sdr.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, ... }:
{
options.sdr.enable = lib.mkEnableOption "Enable rtl-sdr";
config = lib.mkIf config.sdr.enable {
hardware.rtl-sdr.enable = true;
users.users."lilith".extraGroups = [ "plugdev" ];
};
}