Compare commits

...

3 commits

Author SHA1 Message Date
Lilith
b3532e1abc
Merge branch 'main' of git.firelilith.org:lilith/nixos 2025-05-27 00:11:00 +02:00
Lilith
c8274f191c
u 2025-05-27 00:10:52 +02:00
Lilith
78976b8ac3
sdr 2025-05-27 00:09:41 +02:00
3 changed files with 12 additions and 1 deletions

View file

@ -6,5 +6,6 @@
./gaming.nix ./gaming.nix
./stylix.nix ./stylix.nix
./ollama.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.client.enable = lib.mkEnableOption "Enable Nas (via NFS) as a client";
# options.nfs.server.enable = lib.mkEnableOption "Enable Nas (via NFS) as the server"; # 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" ];
};
}