- 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
nixos-config's Introduction
nixos-config's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.