Update README.md

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-07-30 12:29:22 +03:00
parent 1ddd535a2d
commit b8466b80fd
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D
2 changed files with 21 additions and 3 deletions

View file

@ -1,8 +1,25 @@
# NixOS Configuration files.
## Deploying
```shell
nixos-install --flake https://github.com/ivabus/nixos#host
```
## Rebuilding
```shell
nixos-rebuild switch --flake path:/etc/nixos
```
Apple Silicon hosts require additional `--impure` flag for firmware installation. (Firmware should be placed in /etc/nixos/asahi/firmware (ignored by git)).
### Hosts configured
- stella (Random Ryzen 3 3250U laptop)
- vetus (iMac 27" 2017)
- celerrime (MacBook Air M2)
## TODO
- do something with dotfiles installation from [ivabus/dotfiles](https://github.com/ivabus/dotfiles)
- install nixos on more machines
- write proper readme
- fix gtk theming issues

View file

@ -29,6 +29,7 @@
hardware.asahi.peripheralFirmwareDirectory = ../../asahi/firmware;
hardware.asahi.addEdgeKernelConfig = true;
hardware.asahi.useExperimentalGPUDriver = true;
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";