47f2d1bd2acea9c9834a2586d2fbfe4e490bfca1
Nix Sakamoto
A rewrite of the original Sakamoto NixOS configuration.
Installation
Installing Sakamoto Nix configuration may vary on your current operating system.
| Hosts | Description |
|---|---|
| hakase | gaming desktop (linux) |
| sakamoto | [unavailable] server that uses containers (linux) |
| nano | [unavailable] windows configuration |
| macos | macos configuration |
Note: Replace ${Hosts} with one of the options from the table above.
Linux Installation
- Install Nix.
- Clone this directory.
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos - Create a hardware-configuration.conf
$ sudo nixos-generate-config --dir ~/.config/nixos/hosts/${Hosts}/ - ⚠️ Modify
config.nixthat suits your configuration. Be sure to editconfig.nix! Most especiallymyConfig.essentials.Username. Otherwise, your OS could break!!! - Rebuild.
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts} - Install unstable channel (fixes
pkgs.fishmisconfiguration).$ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update - (Optional) You can install
proton-geby running the following command:protonup - (Optional) Add Decky Loader for Steam via this command:
touch ~/.steam/steam/.cef-enable-remote-debugging
MacOS (Darwin) Installation
- Install Nix.
- Clone this directory.
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos - ⚠️ Modify
config.nixthat suits your configuration. Be sure to editconfig.nix! Most especiallymyConfig.essentials.Username. Otherwise, configuration would not work!!! - Rebuild.
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
Problems:
- XDG defaults (file manager default is terminal)
- File Manager must be TUI
- Bluetooth and WiFi should open at TUI
- Steam and Heroic incompatible
- Broken switchwall.sh
- Box fonts
Description
Languages
Nix
97.3%
Shell
2.7%