NixOS and Nix Config using flake
NOTE: run this if git, home-manager don't exists and flake not enabled yet
$ nix-shell
Example using vbox hostname
$ sudo nixos-rebuild switch --flake .#vbox
Example using vbox hostname and demo user
$ home-manager switch --flake .#demo@vbox
Optional step to run and it can be configured
Modify the file to meet your needs
# set ansible_python_interpreter vars bacause nixos path sometime troublesome
$ ansible-playbook ../ansible/common/ssh-sops.yml -e "ansible_pyhthon_interpreter=$(which python)"