Skip to content

Reproducible set of dotfiles and packages for my daily computing

Notifications You must be signed in to change notification settings

dejanr/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

To rebuild and switch to new build:

sudo nixos-rebuild switch --flake .#

VM Build

We can build and test our nixos environment inside virtual machine.

nix build  ./#nixosConfigurations.vm.config.system.build.vm

Start virtual machine with:

./result/bin/run-nixos-vm

To be able to connect via SSH, we have to forward port 2222 to 22:

QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-nixos-vm

Now we can ssh to the vm:

ssh -p 2222 nixos@localhost

About

Reproducible set of dotfiles and packages for my daily computing

Resources

Stars

Watchers

Forks

Packages

No packages published