nixos/bootable/common.nix
2026-11-21 17:29:55 +09:00

19 lines
384 B
Nix

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