mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 17:55:06 +03:00
Update README.md
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
1ddd535a2d
commit
b8466b80fd
2 changed files with 21 additions and 3 deletions
23
README.md
23
README.md
|
@ -1,8 +1,25 @@
|
||||||
# NixOS Configuration files.
|
# 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
|
## TODO
|
||||||
|
|
||||||
- do something with dotfiles installation from [ivabus/dotfiles](https://github.com/ivabus/dotfiles)
|
- 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
|
|
|
@ -29,6 +29,7 @@
|
||||||
hardware.asahi.peripheralFirmwareDirectory = ../../asahi/firmware;
|
hardware.asahi.peripheralFirmwareDirectory = ../../asahi/firmware;
|
||||||
hardware.asahi.addEdgeKernelConfig = true;
|
hardware.asahi.addEdgeKernelConfig = true;
|
||||||
hardware.asahi.useExperimentalGPUDriver = true;
|
hardware.asahi.useExperimentalGPUDriver = true;
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||||
|
|
Loading…
Reference in a new issue