mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
17 lines
321 B
Nix
17 lines
321 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 {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
ventoy-bin-full # general
|
||
|
woeusb-ng # windows
|
||
|
];
|
||
|
};
|
||
|
}
|