linux: disable pstore since no backend works
authorJulien Moutinho <julm@sourcephile.fr>
Mon, 26 Jul 2021 14:58:06 +0000 (16:58 +0200)
committerJulien Moutinho <julm@sourcephile.fr>
Mon, 26 Jul 2021 15:02:20 +0000 (17:02 +0200)
See https://github.com/NixOS/nixpkgs/pull/124431#issuecomment-886766733

hosts/oignon/hardware.nix
hosts/patate/hardware.nix

index 6a23fda9b85c5d6307f488c2c2cbaf352fc61aab..e3fb24905901d04d7061ab9775514516b7809eec 100644 (file)
@@ -57,19 +57,22 @@ boot.tmpOnTmpfs = true;
 boot.extraModulePackages = [
   #config.boot.kernelPackages.exfat-nofuse
 ];
+/*
+boot.loader.efi = {
+  canTouchEfiVariables = true;
+  efiSysMountPoint = "/boot/efi";
+};
+*/
+# No pstore backend available on this system.
+systemd.services.mount-pstore.enable = false;
 boot.loader.grub = {
   enable  = true;
   version = 2;
   device  = "/dev/disk/by-id/ata-Samsung_SSD_850_PRO_128GB_S1SMNSAFC36436X";
   configurationLimit = 3;
+
   #zfsSupport = true;
-  /*
-  efiSupport = true;
-  efi = {
-    canTouchEfiVariables = false;
-    efiSysMountPoint = "/boot/efi";
-  };
-  */
+  #efiSupport = true;
   #enableCryptodisk = true;
 };
 
index 9da1dc6e40347ac88a20e8dc914b5dd3d0c56efb..f9c931a3649b2d5345dec5c48e155c6d326badc7 100644 (file)
@@ -32,20 +32,13 @@ boot.tmpOnTmpfs = true;
 boot.extraModulePackages = [
   #config.boot.kernelPackages.exfat-nofuse
 ];
+# No pstore backend available on this system.
+systemd.services.mount-pstore.enable = false;
 boot.loader.grub = {
   enable  = true;
   version = 2;
   device  = "/dev/disk/by-id/ata-CT250MX500SSD1_2004E2849DD1";
   configurationLimit = 3;
-  #zfsSupport = true;
-  /*
-  efiSupport = true;
-  efi = {
-    canTouchEfiVariables = false;
-    efiSysMountPoint = "/boot/efi";
-  };
-  */
-  #enableCryptodisk = true;
 };
 services.acpid = {
   enable = true;