about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-10-06 17:23:12 +0900
committerGitHub <noreply@github.com>2019-10-06 17:23:12 +0900
commit2a25b5c3cbeab4692879c47eae3166abf5aadc67 (patch)
treeab6a7193dd35bf8c508feb9f5a5c3fed9a15a2e6 /nixos
parent8acf4cd06cd5ac5f6a57e115af6e5a484d979f89 (diff)
parent83ffa1457bb45bcc1f5edeb891fa0f9a26ce42d0 (diff)
Merge pull request #70503 from joachifm/feat/remove-blcr
Remove blcr package & nixos module
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/module-list.nix1
-rw-r--r--nixos/modules/programs/blcr.nix27
-rw-r--r--nixos/modules/rename.nix3
3 files changed, 3 insertions, 28 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index e0197a0da3fe1..fb6bc8e1efe6c 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -98,7 +98,6 @@
   ./programs/autojump.nix
   ./programs/bash/bash.nix
   ./programs/bcc.nix
-  ./programs/blcr.nix
   ./programs/browserpass.nix
   ./programs/captive-browser.nix
   ./programs/ccache.nix
diff --git a/nixos/modules/programs/blcr.nix b/nixos/modules/programs/blcr.nix
deleted file mode 100644
index 804e1d01f12b8..0000000000000
--- 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 ];
-  };
-}
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 802ffcdc94ebd..564c53465e3a7 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -275,6 +275,9 @@ with lib;
     (mkRenamedOptionModule [ "networking" "extraResolvconfConf" ] [ "networking" "resolvconf" "extraConfig" ])
     (mkRenamedOptionModule [ "networking" "resolvconfOptions" ] [ "networking" "resolvconf" "extraOptions" ])
 
+    # BLCR
+    (mkRemovedOptionModule [ "environment.blcr.enable" ] "The BLCR module has been removed")
+
     # Redis
     (mkRemovedOptionModule [ "services" "redis" "user" ] "The redis module now is hardcoded to the redis user.")
     (mkRemovedOptionModule [ "services" "redis" "dbpath" ] "The redis module now uses /var/lib/redis as data directory.")