These are the configuration file for some of my NixOs installations.
cd /etc/nixos
git clone https://github.com/eikek/confnix
ln -s confnix/flake.nix .
nixos-rebuild switch
Try out some packages defined here using nix build
or nix run
:
nix build .#chee
To test build a machine configuration, the machine can be given to
nixos-rebuild
command:
nixos-rebuild build --flake .#kalamos
To create vm of some machine's config:
nixos-rebuild build-vm --flake .#kalamos