Dotfiles
Instructions for Future Reference
Nixos
-
nixos-generate-config --root /mnt
-
enable flakes
- in
configuration.nix
addnix.settings.experimental-features = [ "nix-command" "flakes" ];
# nixos-rebuild switch
- in
-
# nixos-rebuild switch --flake github:sachnr/dotfiles#desktop
wsl2
- enable
Virtual Machine Platform
andWindows Subsystem for Linux
- download latest release from here
wsl --import NixOS nixos-wsl-installer.tar.gz --version 2
wsl -d NixOS
- in nixos
nixos-rebuild switch --flake github:sachnr/dotfiles#wsl