Merge pull request #40581 from peterhoeg/p/sedutil

sedutil: init at 1.15.1 and corresponding nixos module
This commit is contained in:
Peter Hoeg
2018-05-16 12:39:06 +08:00
committed by GitHub
4 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ 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 ];
};
}