2018-03-19 05:12:56 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.sedutil;
|
|
|
|
|
|
|
|
in {
|
2022-08-28 21:18:44 +02:00
|
|
|
options.programs.sedutil.enable = mkEnableOption (lib.mdDoc "sedutil");
|
2018-03-19 05:12:56 +01:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
boot.kernelParams = [
|
|
|
|
"libata.allow_tpm=1"
|
|
|
|
];
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [ sedutil ];
|
|
|
|
};
|
|
|
|
}
|