NixOS Flake

Usage

Clone this repository:

$ git clone https://github.com/henrirosten/dotfiles.git
$ cd dotfiles

Bootstrap nix shell with flakes and nix-command:

$ nix-shell

Build configuration for host hostname:

$ nixos-rebuild build --flake .#hostname

Install configuration for host hostname:

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

Acknowledgements