From b8466b80fd1d263aa666d5766045228c030ea135 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Sun, 30 Jul 2023 12:29:22 +0300 Subject: [PATCH] Update README.md Signed-off-by: Ivan Bushchik --- README.md | 23 ++++++++++++++++++++--- machines/celerrime/hardware.nix | 1 + 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 42910f7..bc17632 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file diff --git a/machines/celerrime/hardware.nix b/machines/celerrime/hardware.nix index 3a98948..19b7538 100644 --- a/machines/celerrime/hardware.nix +++ b/machines/celerrime/hardware.nix @@ -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";