nixos/README.md

24 lines
366 B
Markdown
Raw Normal View History

2023-02-01 23:36:03 +01:00
# 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>
2023-02-02 00:17:10 +01:00
```
Build script to activate in current shell
```bash
nix build .#hmConfig.<hostname>.activationPackage
```
with
```bash
./result/activate
2023-02-01 23:36:03 +01:00
```