diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2019-10-06 08:06:25 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2019-10-06 08:10:23 +0200 |
commit | 923c449e9bf554f0bd0aa2df4d1f857e144eeaf3 (patch) | |
tree | 023a5246a6a4fb95249671759ea5baf06541df52 /nixos/modules/programs | |
parent | 2436c27541b2f52deea3a4c1691216a02152e729 (diff) |
nixos/blcr: remove
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/blcr.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/nixos/modules/programs/blcr.nix b/nixos/modules/programs/blcr.nix deleted file mode 100644 index 804e1d01f12b..000000000000 --- a/nixos/modules/programs/blcr.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, lib, ... }: - -let - inherit (lib) mkOption mkIf; - cfg = config.environment.blcr; - blcrPkg = config.boot.kernelPackages.blcr; -in - -{ - ###### interface - - options = { - environment.blcr.enable = mkOption { - default = false; - description = - "Whether to enable support for the BLCR checkpointing tool."; - }; - }; - - ###### implementation - - config = mkIf cfg.enable { - boot.kernelModules = [ "blcr" "blcr_imports" ]; - boot.extraModulePackages = [ blcrPkg ]; - environment.systemPackages = [ blcrPkg ]; - }; -} |