Skip to content

cloudlena/nixfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nixfiles

❄️ My personal NixOS configuration. It uses Flakes under the hood.

Features

This configuration includes:

  • Window Manager: Hyprland (Wayland) with Waybar, Hyprlock, and Tokyo Night theme
  • Terminal: Kitty with Zsh, Starship prompt, and Tmux
  • Editor: Helix with comprehensive language server support
  • Development: Go, Python, Rust, Node.js, OpenTofu, Kubectl, and more
  • Tools: Claude Code, GitUI, Yazi file manager, Taskwarrior, Bottom monitor
  • Security: Secure boot (Lanzaboote), full disk encryption (LUKS), AppArmor
  • Containers: Podman with Compose support

See the terminal commands section below for quick access to key tools.

Prerequisites

  • Git installed
  • nh (NixOS helper) installed
  • NixOS installed (only for the system level part)

Hardware

This configuration is tailored for a TUXEDO InfinityBook Pro 14 Gen 7 using nixos-hardware. If you're using different hardware, update the nixos-hardware module in flake.nix.

The configuration includes:

  • Secure Boot via Lanzaboote
  • Full Disk Encryption with LUKS

Directory Structure

  • flake.nix - Flake configuration with system inputs and outputs
  • flake.lock - Locked dependency versions
  • system/ - System-level NixOS configuration
  • home/ - Home Manager configuration (user-level)
  • home/theme.nix - Tokyo Night color scheme definitions
  • Makefile - Convenience commands for common operations

Installation

  1. Clone this repo
  2. Run make system to install the system level components
  3. Run make home to install the user level components

Update

  1. Run make update to update the Flake lockfile
  2. Run make system to update the system level components
  3. Run make home to update the user level components

Maintenance

  1. Run make clean to remove old system generations (keeps last 5 generations and all from last 14 days)

Colors

The whole setup follows the Tokyo Night color scheme as defined in home/theme.nix.

Purpose Color
Foreground #c0caf5
Background #1a1b26
Primary #bb9af7
Warning #e0af68
Danger #f7768e

Key Bindings

Function Keys
Open App Launcher Super + Space
Open Terminal Super + Enter
Focus Last Window Super + Tab
Open Web Browser Super + W
Kill Active Window Super + Q
Toggle Fullscreen Window Super + F
Toggle Floating Window Super + V
Pin Floating Window Super + Y
Open Clipboard History Super + C
Open Window Picker Super + A
Open Emoji Picker Super + E
Open Color Picker Super + P
Lock Screen Super + Ctrl + Q
Open Empty Workspace Super + N
Switch to Workspace Super + [0-9]
Switch to Previous Workspace Super + [
Switch to Next Workspace Super + ]
Move Window to Empty Workspace Super + Shift + N
Move Window to Workspace Super + Shift + [0-9]
Switch to Scratchpad Super + S
Move Window to Scratchpad Super + Shift + S
Switch to Window Super + [hjkl] or Move Mouse
Move Window Super + Shift + [hjkl] or Super + Left Mouse Button
Resize Window Super + Right Mouse Button

Terminal Commands

Function Command
Open Agentic Coding Tool a
Open Text Editor e
Open File Manager f
Open Git Browser g
List Directory Contents l
Open System Monitor m
Open File o
Open Task Manager t

About

❄️ My personal NixOS configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published