A NixOS configuration centered around Home Manager for declarative user environment management, with NVIDIA graphics support and essential development tools.
coming soon
TLDR: I do not provide magical script to transform you nix to mimic my config. Copy the individual program config from .config/home-manger
directory and configure/modify it according to your own liking. I do not recommend switch.sh
, it's for my own convenience.
.
├── configuration.nix # Main system configuration goes in /etc/nixos
├── flake.nix # Nix flake configuration
└── .config # User specific config goes in /home/<user>/
├── home-manager # home manager configs
└── nvim # home-manager independent lazyvim config
This configuration includes home-manager for declarative user environment management. Home-manager allows you to manage user-specific packages, dotfiles, and services in a reproducible way.
To set up home-manager:
- Install and setup
home-manager
with flake - Configure user-specific settings and packages
- Copy the individual
<program>.nix
from.config/home-manager/
directory. If you include or exclude any modules, make sure you editmodules = [...]
inflake.nix
- Apply with:
home-manager switch
This configuration is built upon the excellent work of the following projects and their maintainers:
NixOS - The Nix Operating System that enables reproducible and declarative system configurations.
Home Manager - Nix-based user environment configurator by the nix-community, enabling declarative management of user packages and dotfiles.
LazyVim - Neovim configuration framework by folke that provides a modern, extensible, and lazy-loading setup for Neovim.
Catppuccin - Soothing pastel theme ecosystem maintained by the Catppuccin organization, providing consistent theming across multiple applications.
spicetify-nix - Nix flake for Spicetify CLI by Greg-L, enabling declarative Spotify customization through Home Manager integration.
Starship - Cross-shell prompt by the Starship contributors, providing a fast and customizable command line prompt.
Kitty - Fast, feature-rich, GPU-accelerated terminal emulator by Kovid Goyal.
Yazi - Blazing fast terminal file manager by sxyazi, written in Rust with async I/O.
LazyGit - Simple terminal UI for git commands by jesseduffield, providing an intuitive interface for Git operations.
Delta - Syntax-highlighting pager for git by dandavison, enhancing git diff output with beautiful formatting.
Nushell - Modern shell written in Rust by the Nushell contributors, featuring structured data pipelines and powerful scripting capabilities.
This project is licensed under MIT license
Feel free to open issues or submit pull requests if you have suggestions for improvements.