nix: shell: install nixfmt-rfc-style
[julm/julm-nix.git] / hosts / oignon / hardware.nix
index 982d4a77e2cc84903417d2cef4eb8c3b3bb47c70..1468f7ccaa20cf54c2747ff4e1427a2fd7f07c55 100644 (file)
@@ -34,6 +34,7 @@
     #efiSupport = true;
     #enableCryptodisk = true;
   };
+  boot.zfs.requestEncryptionCredentials = [ hostName ];
 
   hardware.enableRedistributableFirmware = true;
 
@@ -83,4 +84,9 @@
 
   services.pipewire.jack.enable = true;
 
+  services.acpid = {
+    # Suspending not work well on this old computer.
+    lidEventCommands = "";
+  };
+
 }