mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
19 lines
300 B
Nix
19 lines
300 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.programs.sedutil;
|
|
|
|
in {
|
|
options.programs.sedutil.enable = mkEnableOption "sedutil";
|
|
|
|
config = mkIf cfg.enable {
|
|
boot.kernelParams = [
|
|
"libata.allow_tpm=1"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [ sedutil ];
|
|
};
|
|
}
|