This commit is contained in:
lsoriano-mcm
2025-07-05 13:56:33 -05:00
parent 162321eb28
commit 1653fe3eb2
3 changed files with 25 additions and 14 deletions
+21 -1
View File
@@ -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}
```
Generated
+4 -4
View File
@@ -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"
},
-9
View File
@@ -1,9 +0,0 @@
#!/usr/bin/env bash
set -e
ARCH=$(uname -m)
HOSTNAME=$1
if [[HOSTNAME]]; then