Add flake.nix
This commit is contained in:
parent
339891709c
commit
a5186ea3d6
6 changed files with 163 additions and 2 deletions
15
README.md
Normal file
15
README.md
Normal 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>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue