nixos/profiles/usb-iso/default.nix

26 lines
448 B
Nix
Raw Permalink Normal View History

2024-07-28 21:08:02 +02:00
{
config,
lib,
pkgs,
...
}:
2023-04-05 23:58:42 +02:00
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 {
2025-05-23 23:05:45 +02:00
# binary blobs are needed for ventoy
nixpkgs.config.permittedInsecurePackages = [
"ventoy-1.1.05"
];
2023-04-05 23:58:42 +02:00
environment.systemPackages = with pkgs; [
ventoy-bin-full # general
woeusb-ng # windows
];
};
}