nivem: accusative singular of nix ❄️
My NixOS and Home Manager configurations in a Nix flake.
Features:
- Hyprland
- Caelestia Shell
- Nixvim
recording.mp4
Online Install (Home Manager)
*Install a configuration without cloning the repository.*- If not already done, enable flakes and prepare Home Manager.
nix develop --extra-experimental-features 'nix-command flakes' github:benvonh/nivem- Install the Home Manager configuration of your choice.
home-manager switch --flake github:benvonh/nivem#your-configYou may omit #your-config to default to $USER.
Full Install (NixOS)
*Install a configuration locally for NixOS and Home Manager.*- Clone this repository and enter my custom shell.
git clone https://github.com/benvonh/nivem ~/nivem
nix develop --extra-experimental-features 'nix-command flakes' ~/nivem- Create a Home Manager configuration.
mkdir ~/nivem/home-manager/$USER
# See other configs for reference
vim ~/nivem/home-manager/$USER/default.nix- Create a NixOS configuration.
mkdir ~/nivem/nixos/$HOST
cp /etc/nixos/hardware-configuration.nix ~/nivem/nixos/$HOST
# See other configs for reference
vim ~/nivem/nixos/$HOST/default.nix- Add the configurations to the flake and switch to it.
vim ~/nivem/flake.nix
cd ~/nivem
git add .
sudo nixos-rebuild switch --flake ~/nivem#your-configYou may omit #your-config to default to $HOST. Note that this NixOS setup imports Home Manager internally.
Special thanks to Misterio77 for his nix-starter-configs!