- Load repo onto bootable NixOS installation media
- Can make secure boot compatible media by first flashing NixOS installer ISO then copying
bootx64.efi
,grubx64.efi
, andmmx64.efi
from a signed ISO (e.g. Fedora installer) intoEFI/boot
, replacing any existing files
- Can make secure boot compatible media by first flashing NixOS installer ISO then copying
- Comment out Lanzaboote section and enable
systemd-boot
- Turn off secure boot and boot into installation media
- Run
ls /dev/disk/by-id
and check the device name of the target storage (e.g.nvme-HFS002TEJ9X101N_AJCCN53941470CM51
)- Edit the
device
field indisko-config.nix
and the target partition (append-part2
to the device name) underboot.initrd.postDeviceCommands
inconfiguration.nix
appropriately
- Edit the
- Run
sudo lshw -c display
and change the bus IDs for Nvidia Prime inconfiguration.nix
- Remove leading zeroes, convert from hexadecimal to decimal, and replace periods with colons
- Only last three numbers needed
- Run
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko [absolute path to repo]/disko-config.nix
- Use
mkpasswd -m yescrypt > [user].yescrypt
to generate hashed password files for user and root- Place them in
/mnt/persistent/passwd
- Place them in
- Run
sudo nixos-install --flake [absolute path to repo]#FusionBolt
- Reboot into NixOS
- Run
sudo sbctl create-keys
- Disable
systemd-boot
and uncomment the Lanzaboote section, then runnix-switch
and verify withsudo sbctl verify
- Reboot and enable secure boot in setup mode
- Run
sudo sbctl enroll-keys --microsoft
- Reboot and verify secure boot status with
bootctl status
-
Notifications
You must be signed in to change notification settings - Fork 0
kari-naga/nixos-config
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published