profile/usb-iso: init

This commit is contained in:
Felix Buehler 2023-04-05 23:58:42 +02:00
parent eafb6ddbb7
commit 357fed6d35
6 changed files with 19 additions and 9 deletions

View file

@ -17,6 +17,7 @@
./sway
./sync
./update
./usb-iso
./webcam
];
}

View file

@ -38,8 +38,6 @@ in
]))
# linter
shellcheck
# setup
woeusb-ng
];
};
}

View file

@ -0,0 +1,16 @@
{ 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
];
};
}