Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Setup

NixOS flake config with Home Manager standalone.

I use Colemak-DH-ISO keyboard layout by default, modify in keyboard.nix and niri.kdl

Screenshot

Install

Warning

Do not use this flake if you don't know how to use NixOS. You will end up with a broken generation because of the hardware specific files.

Important

NixOS installs usually require copying /etc/nixos/hardware-configuration.nix to the profile directory or you won't be able to boot. You should also check that the per host filesystem.nix works on your machine.

NixOS Configuration:

# Clone this repo using nix-shell:
nix-shell -p git neovim --command "git clone https://github.com/jaycem-dev/nix ~/Projects/nix && cd ~/Projects/nix; return"

# Update config if necessary then rebuild:
sudo nixos-rebuild switch --flake .#profile

Home Manager:

# First install (home-manager not yet installed):
nix run home-manager -- switch --flake .#profile

# Subsequent updates:
home-manager switch --flake .#profile

Replace #profile with one of the profiles below (defined in flake.nix). Profile names are shared between NixOS and Home Manager:

  • #desktop
  • #asahi (ARM64, --impure flag only needed for nixos-rebuild)

Software

  • Compositor and tools: Niri, Waybar, Fuzzel, Hypridle, Wpaperd, Swaylock
  • Main programs: Kitty, Neovim, Yazi
  • Theming: Stylix

About

My flake configuration for NixOS.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages