1.6 KiB
1.6 KiB
installation
Caution
the templated flake is designed for a minimal install of nixos. install nixos first, then follow the instructions below.
1. initialize the flake template
# create a new directory and initialize the template
mkdir hydenix && cd hydenix
nix flake init -t github:richen604/hydenix
2. configure your system
edit configuration.nix following the detailed comments:
- optional: see module options for advanced configuration
3. generate hardware configuration
sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix
4. initialize git repository
git init && git add .
we do this because flakes must be managed via git. and its good practice to version control your configuration
5. build and switch to the new configuration
sudo nixos-rebuild switch --flake .#hydenix
Note
if you made mistakes, it will fail here. try following:
- read the error carefully, it may be self-explanatory
- troubleshooting steps in troubleshooting & issues
- read the faq, it may have the answer you're looking for
- please don't hesitate to ask in discord or github discussions!
6. launch hydenix
reboot and log in.
Important
do not forget to set your password
passwd
you can generate the theme cache with the below:
hyde-shell reload