Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.64 KB

File metadata and controls

65 lines (45 loc) · 1.64 KB

NixOS

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:

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:

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