- Access remote and identify main disk
fdisk -l. - Replace disk in arrow/default.nix
- Run
nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config hosts/arrow/hardware-configuration.nix --flake .#arrow --target-host root@<ip address>make sure to access the root user. - Enter disk encryption key
- ssh into the machine. make sure firewall is configured correctly.
- clone the repository
SSH_AUTH_SOCK=/run/user/1000/gcr/ssh git clone git@github.com:/LucStr/nix-config.gitinto $HOME of user - if present delete .config/hypr
- run
nh home switch
LucStr/nix-config
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|