Skip to content

benvonh/nivem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nivem: accusative singular of nix ❄️

nivem

My NixOS and Home Manager configurations in a Nix flake.

Features:

  • Hyprland
  • Caelestia Shell
  • Nixvim
recording.mp4

Installation

Online Install (Home Manager) *Install a configuration without cloning the repository.*
  1. If not already done, enable flakes and prepare Home Manager.
nix develop --extra-experimental-features 'nix-command flakes' github:benvonh/nivem
  1. Install the Home Manager configuration of your choice.
home-manager switch --flake github:benvonh/nivem#your-config

You may omit #your-config to default to $USER.

Full Install (NixOS) *Install a configuration locally for NixOS and Home Manager.*
  1. 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
  1. Create a Home Manager configuration.
mkdir ~/nivem/home-manager/$USER

# See other configs for reference
vim ~/nivem/home-manager/$USER/default.nix
  1. 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
  1. 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-config

You may omit #your-config to default to $HOST. Note that this NixOS setup imports Home Manager internally.

⚠️ Make sure to change personal settings such as Git username and hardware modules.


Special thanks to Misterio77 for his nix-starter-configs!

About

My NixOS and Home Manager configurations

Topics

Resources

Stars

Watchers

Forks