dotfiles/nixos/hardware/recovery-usb.nix
main a5a651dbb9
Large rework and cleanup
Signed-off-by: main <magic_rb@redalder.org>
2022-07-31 11:03:59 +02:00

18 lines
372 B
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{
pkgs,
config,
lib,
...
}:
with lib; let
cfg = config.magic_rb.hardware.recoveryUsb;
in {
options.magic_rb.hardware.recoveryUsb = mkEnableOption "Enable recovery USB.";
config = mkIf cfg {
# boot.supportedFilesystems = [ "zfs" ];
};
}