https://github.com/hbjydev/hnix
My dotfiles, rewritten in Nix.
https://github.com/hbjydev/hnix
dotfiles home-manager nix nix-darwin nixos
Last synced: about 1 month ago
JSON representation
My dotfiles, rewritten in Nix.
- Host: GitHub
- URL: https://github.com/hbjydev/hnix
- Owner: hbjydev
- License: apache-2.0
- Created: 2023-08-03T19:23:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T16:35:44.000Z (5 months ago)
- Last Synced: 2025-03-25T21:03:54.377Z (about 2 months ago)
- Topics: dotfiles, home-manager, nix, nix-darwin, nixos
- Language: Nix
- Homepage:
- Size: 1.54 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `dots.nix`
My dotfiles, rewritten in Nix (mostly).
## Installation
### NixOS
On NixOS, simply clone the repo to `/etc/nixos` and run:
```shell
sudo nixos-rebuild switch --flake '/etc/nixos#personal-nixos'
```### macOS
On macOS, first install nix-darwin:
```shell
sh <(curl -L https://nixos.org/nix/install)
git clone https://github.com/hbjydev/dots.nix.git ~/.config/nix
nix run nix-darwin -- switch --flake '~/.config/nix#personal-darwin'
```