2023-12-15 17:49:12 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
|
|
|
settings = import ./../settings.nix;
|
|
|
|
in
|
2023-11-17 21:10:38 +00:00
|
|
|
{
|
2023-12-15 17:49:12 +00:00
|
|
|
# Optionally import modules for non-essential extras
|
|
|
|
imports =
|
|
|
|
lib.optionals settings.hardware.yubikey.enable [ ./yubikey.nix ]
|
|
|
|
++ lib.optionals settings.dvd [ ./dvd.nix ]
|
|
|
|
++ lib.optionals settings.bluray [ ./bluray.nix ]
|
|
|
|
++ lib.optionals settings.networking.wireguard [ ./wireguard.nix ];
|
2023-11-17 21:10:38 +00:00
|
|
|
}
|