sdr
This commit is contained in:
parent
0eda23c86b
commit
78976b8ac3
3 changed files with 12 additions and 1 deletions
|
|
@ -6,5 +6,6 @@
|
|||
./gaming.nix
|
||||
./stylix.nix
|
||||
./ollama.nix
|
||||
./sdr.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{ config, lib, ... }: {
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
|
||||
options.nfs.client.enable = lib.mkEnableOption "Enable Nas (via NFS) as a client";
|
||||
# options.nfs.server.enable = lib.mkEnableOption "Enable Nas (via NFS) as the server";
|
||||
|
|
|
|||
9
system/optional/sdr.nix
Normal file
9
system/optional/sdr.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue