https://github.com/archsyscall/nixos-config
https://github.com/archsyscall/nixos-config
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/archsyscall/nixos-config
- Owner: archsyscall
- Created: 2023-09-11T12:15:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T01:08:55.000Z (over 1 year ago)
- Last Synced: 2025-02-02T07:27:42.487Z (5 months ago)
- Language: Nix
- Size: 6.34 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nixos-config
## installation
```bash
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
chmod +x bin/build.sh && bin/build.sh
```## set yabai
```bash
# create a new file for writing - visudo uses the vim editor by default.
# go read about this if you have no idea what is going on.sudo visudo -f /private/etc/sudoers.d/yabai
# input the line below into the file you are editing.
# replace with the path to the yabai binary (output of: which yabai).
# replace with your username (output of: whoami).
# replace with the sha256 hash of the yabai binary (output of: shasum -a 256 $(which yabai)).
# this hash must be updated manually after running brew upgrade.ALL=(root) NOPASSWD: sha256: --load-sa
```in recovery mode then reboot
```bash
csrutil enable --without fs --without debug --without nvram
```run below command then reboot
``` bash
sudo nvram boot-args=-arm64e_preview_abi
```run below command then reboot
```bash
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
```### set hammerspoon
activate manual