2023-01-20 20:21:16 +01:00
|
|
|
# Work In Progress!
|
|
|
|
Notice, these things might be missing:
|
|
|
|
- Functionality
|
|
|
|
- Style
|
|
|
|
- Safety
|
|
|
|
|
|
|
|
### Build:
|
|
|
|
- Build locally on another machine (verify)
|
|
|
|
```
|
2023-10-14 00:11:53 +02:00
|
|
|
nix --extra-experimental-features "nix-command flakes" build ".#nixosConfigurations.sarek.config.system.build.toplevel"
|
2023-01-20 20:21:16 +01:00
|
|
|
```
|
2023-10-14 00:11:53 +02:00
|
|
|
(replace "sarek" with the hostname)
|
2023-01-20 20:21:16 +01:00
|
|
|
|
|
|
|
- Build, install and switch on the actual target
|
|
|
|
```
|
|
|
|
nixos-rebuild switch --update-input nixpkgs --update-input unstable --no-write-lock-file --refresh --flake github+felixalbrigtsen/nixos-server-conf.git --upgrade
|
|
|
|
```
|