Nix flake configurations for NixOS and Home Manager.
Hyprland
- Wayland compositorNeovim
- terminal IDEZsh
- with powerlevel10kEww
- fancy widgets
Systems (NixOS):
zeph
- laptop
Profiles (Home Manager):
ben
- desktopdev
- minimal
- If Nix and Home Manager is installed and flakes are enabled, you can install a profile directly from GitHub.
home-manager switch --flake github:benvonh/.snowflake#<profile>
- Clone and enter the Nix environment.
git clone https://github.com/benvonh/.snowflake
cd ~/.snowflake
nix-shell
- If you would like, create new NixOS and Home Manager configurations. Otherwise, skip to next step.
cp -rv ~/.snowflake/systems/zeph ~/.snowflake/systems/$HOSTNAME
cp -rv ~/.snowflake/profiles/ben ~/.snowflake/systems/$USER
nixos-generate-config --show-hardware-config > ~/.snowflake/systems/$HOSTNAME/hardware.nix
- Read and edit the flake. Main files of interest are:
flake.nix
systems/$HOSTNAME/default.nix
systems/$HOSTNAME/share/**
profiles/$USER/default.nix
profiles/$USER/share/**
- Switch to your NixOS and Home Manager configurations.
sudo nixos-rebuild switch --flake ~/.snowflake
home-manager switch --flake ~/.snowflake
- Misterio77 for creating flake templates at nix-starter-configs