Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 [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
```