nixos/profiles/usb-iso/default.nix
Felix Buehler 4938bed579
Some checks are pending
/ Build Nix targets (push) Waiting to run
profile/usb-iso: allow all ventoy versions
2025-12-27 23:22:12 +01:00

25 lines
460 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.usb-iso;
in
{
options.my.profiles.usb-iso = with lib; {
enable = mkEnableOption "usb-iso profile";
};
config = lib.mkIf cfg.enable {
# binary blobs are needed for ventoy
nixpkgs.config.permittedInsecurePackages = [
"ventoy-${pkgs.ventoy.version}"
];
environment.systemPackages = with pkgs; [
ventoy-full # general
woeusb-ng # windows
];
};
}