mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profile/usb-iso: init
This commit is contained in:
parent
eafb6ddbb7
commit
357fed6d35
6 changed files with 19 additions and 9 deletions
16
profiles/usb-iso/default.nix
Normal file
16
profiles/usb-iso/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue