Main stuff
Nixos config
Install:
-
Install nix with luks encryption
-
Create a shell with git and stow
nix-shell -p git stow
- Clone dotfiles
git clone https://github.com/safstromo/.dotfiles.git
- Run prepare_system.sh
Copy hardware-configuration into the config dir to build
- Add to config to enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
- Rebuild system to activate flakes
sudo nixos-rebuild switch
-
Copy boot.initrd.luks.devices. line info from configuration.nix Edit grub settings if needed
-
Rebuild flake
sudo nixos-rebuild switch --flake .#e00x