nixcfg/modules/nixos/hardware/storage/default.nix

17 lines
375 B
Nix
Raw Normal View History

2024-01-11 11:26:46 +01:00
{ options, config, pkgs, lib, ... }:
with lib;
with lib.plusultra;
let cfg = config.plusultra.hardware.storage;
in
{
options.plusultra.hardware.storage = with types; {
enable = mkBoolOpt false
"Whether or not to enable support for extra storage devices.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ ntfs3g fuseiso ];
};
}