nixos/bootable/common.nix
2026-10-29 00:37:18 +09:00

18 lines
369 B
Nix

{ pkgs, ... }: {
boot = {
initrd.systemd.tpm2.enable = false;
loader.timeout = 0;
};
environment.systemPackages = with pkgs; [
ddrescue
efibootmgr
hdparm
hwinfo
nvme-cli
smartmontools
];
hardware.enableAllHardware = true;
imports = [ ../common.nix ];
services.getty.autologinUser = "root";
systemd.tpm2.enable = false;
}