Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smores56/nix-config
Nix home/package config
https://github.com/smores56/nix-config
Last synced: 1 day 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-01T01:04:17.000Z (20 days ago)
- Last Synced: 2024-11-01T02:17:39.307Z (19 days ago)
- Language: Nix
- Size: 42.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 shellnix-shell -p git gh home-manager
ssh-keygen -t ed25519 -b 4096 -C $HOSTNAME
gh auth login
git clone [email protected]: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
```