Skip to content

Latest commit

 

History

History

nix

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Nix Config

NixOS and Nix Config using flake

Bootstrap

NOTE: run this if git, home-manager don't exists and flake not enabled yet

$ nix-shell

Run NixOS Configuration

Example using vbox hostname

$ sudo nixos-rebuild switch --flake .#vbox

Run Home Manager Configuration

Example using vbox hostname and demo user

$ home-manager switch --flake .#demo@vbox

After Run Config (Optional)

Optional step to run and it can be configured

Add SSH Keys

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)"