/espresso

☕ Comfy NixOS Dotfiles! | Aesthetic & Clean Environment | Secure Boot Optionally Supported!

Primary LanguageLuaMIT LicenseMIT

Spaxly's NixOS Configuration

alt text

IMMUTABLE / WIP / AESTHETIC

If you decide to use my config, please do give me credit in the README of your fork/repo.

Feature Package
Operating System NixOS
Window Manager AwesomeWM
Compositor pijulius/picom
Terminal WezTerm
Shell fish
Editor neovim
Bar wibar
Application Launcher rofi

Install

  • Boot into NixOS Live Environment
  • Partition & Mount Drive(s)
# Go to mounted drive, create etc folder and go to etc folder
cd /mnt && mkdir etc && cd etc

# Create secureboot directory
mkdir /mnt/etc/secureboot

# Clone my configuration
git clone https://github.com/Spaxly/nixfiles

# Move my config to etc folder
mv nixfiles/nixos ./

# Generate hardware-configuration and configuration.nix file
nixos-generate-config --root /mnt

# Delete generated configuration.nix and move hardware-configuration.nix to the appropriate directory
rm configuration.nix && mv hardware-configuration.nix hosts/

# Install NixOS with my configuration
nixos-install --flake .#io --impure

# OPTIONAL SECURE BOOT
# Verify files are signed for secure boot
sudo sbctl verify

Reboot, enable secure boot and boot into newly installed NixOS

# Enroll secure boot keys
sudo sbctl enroll-keys --microsoft

To learn more about secure boot on NixOS, check out Lanzaboote

Post Configuration

Installing NvChad

git clone https://github.com/NvChad/NvChad --depth 1 ~/.config/nvim

WIP

  • Finish bar configuration
  • Dashboard
  • Music player

Credits

Elenapan - For rounded corners around windows without the use of a compositor
AlphaTechnolog - General reference