diff --git a/README.md b/README.md index 1991b62..8309c26 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,24 @@ # NixOS Sakamoto -Bloated, but the pros outweighs the cons. +A rewrite of the original Sakamoto NixOS configuration. ## Getting Started +| Hosts | Description | +|----------|----------| +| hakase | gaming desktop | +| macos | darwin | + +### Linux Installation +Note: Replace ${Hosts} with the following option from above. + 1. Install [Nix](https://nixos.org). + 2. Clone this directory. +```sh +$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos +``` + 3. Create a hardware-configuration.conf +```sh +$ sudo nixos-generate-config --dir ~/.config/hosts/${Hosts} +``` + 4. Rebuild. +```sh +$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts} +``` diff --git a/flake.lock b/flake.lock index 5538699..8c922be 100644 --- a/flake.lock +++ b/flake.lock @@ -308,11 +308,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1751732758, - "narHash": "sha256-L+7pepSystjxPyR/CAc02z0VjV0IwVgU3psLof86Rq0=", + "lastModified": 1751734292, + "narHash": "sha256-AeW333kvHQPHyhF1MH4ogtAuQmReNeCOJmOcvD2IHcM=", "ref": "refs/heads/master", - "rev": "af883ec5ebe0e57fdf1c09b0befe6bea53a29af9", - "revCount": 66, + "rev": "13cd454fb30d75a204ed245ec094210635cc22a6", + "revCount": 67, "type": "git", "url": "https://git.sakamoto.dev/kenji/nixovim.git" }, diff --git a/run.sh b/run.sh deleted file mode 100755 index b3ebebf..0000000 --- a/run.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -e - -ARCH=$(uname -m) -HOSTNAME=$1 - -if [[HOSTNAME]]; then -