https://github.com/smores56/nix-config
Nix home/package config
https://github.com/smores56/nix-config
Last synced: about 1 month ago
JSON representation
Nix home/package config
- Host: GitHub
- URL: https://github.com/smores56/nix-config
- Owner: smores56
- Created: 2023-08-09T19:36:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-06-20T06:32:57.000Z (about 1 month ago)
- Last Synced: 2026-06-20T07:20:28.519Z (about 1 month ago)
- Language: Nix
- Size: 51.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
Awesome Lists containing this project
README
Nix Config
==========
Configuration for my Nix home/programs and NixOS programs/services.
## Setup
For NixOS, run the following:
```bash
export HOSTNAME= # set -xg HOSTNAME on fish shell
nix-shell -p git gh home-manager
ssh-keygen -t ed25519 -b 4096 -C $HOSTNAME
gh auth login
git clone git@github.com:smores56/nix-config.git
home-manager switch --flake ~/.config/nix
sudo ln -sf ~/.config/nix/hosts/$HOSTNAME/nixos.nix /etc/nixos/configuration.nix
sudo nixos-generate-config
sudo nixos-rebuild switch --upgrade
```