1
0
Fork 0
nix-homemanager-laptop/README.md
2025-07-11 13:54:30 -05:00

27 lines
1.4 KiB
Markdown

# Laptop configuration
This repository has the Nix home-manager configuration for my laptop, allowing
me to manage a user configuration with reproducibility on other machines. It
currently operates on a foreign Linux distribution (Fedora Asahi Remix) with
plans to switch to NixOS when time allows and to make it reusable for other
systems. `direnv` automatically loads the environment for running commands for
this Flake.
## Features
- **`home-manager`**: Defines the user environment.
- **`flake-parts`**: Makes the Flake modular and reusable.
- **`sops`**: Encrypts secrets.
- **`treefmt`** (with Helix integration): Automatically formats this repository
when modifying it, with features to check the flake for formatting
consistency.
- **Language Server Protocol (LSP)**: Has language servers for file formats used
in this repository; integrates with Helix text editor and fully managed by Nix
with each language's configuration in its own file.
- **AI**: Uses Nix home-manager integrations for Codex and `aichat` for querying
Large Language Models (LLMs) in the CLI and in Git repositories.
- **Language tools**: Checks for grammatical and styling issues using Vale,
Harper, LTeX, and Typos, centralizing the custom dictionary for these tools in
the Nix configuration.
- **Git pre-commit hooks**: Lints the files before making a commit, both with
programming and natural languages.