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

View file

@ -6,5 +6,6 @@
./gaming.nix
./stylix.nix
./ollama.nix
./sdr.nix
];
}

View file

@ -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
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" ];
};
}