Add flake.nix

This commit is contained in:
Florian RICHER 2023-02-01 23:36:03 +01:00
parent 339891709c
commit a5186ea3d6
6 changed files with 163 additions and 2 deletions

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# Installation
`<hostname>` is default to `hostname` command but it can be overwritten
Build only
```bash
nixos-rebuild build --flake .#<hostname>
```
Build and switch
```bash
nixos-rebuild switch --flake .#<hostname>
```