Note
README.md is generated by AI because I low-key know more about Nix than Markdown atp.
A personal NixOS configuration featuring a comprehensive development environment with Wayland/Sway, custom theming, and modular organization.
This flake configures a NixOS system called "grimm" with:
- Desktop Environment: Sway Wayland compositor with custom theming
- Development: Neovim with Tree-sitter, Zed editor, development tools
- Browser: Firefox with privacy-focused extensions
- Terminal: Feature-rich Zsh with Tmux and utility scripts
- Theming: Catppuccin color scheme throughout the system
- Spicetify: Comfy theme for Spotify
.
├── flake.nix # Main flake definition
├── ghost.nix # Home-manager configuration
├── modules/
│ ├── home/ # Home-manager modules
│ │ ├── bar.nix # Status bar configuration
│ │ ├── general.nix # General home settings
│ │ ├── sway.nix # Sway window manager
│ │ └── swaync.nix # Sway notification daemon
│ ├── nixos/ # NixOS system modules
│ │ ├── desktop.nix # Desktop environment
│ │ ├── fontman.nix # Font management
│ │ ├── gnupg.nix # GPG configuration
│ │ └── virtualization.nix
│ └── ghost/
│ ├── hm/ # Ghost home-manager modules
│ └── nixos/ # Ghost NixOS modules
└── flake.lock # Locked inputs
- Neovim: Latest nightly build with Lua language server
- Zed: Modern code editor
- Languages: Lua, C/C++ development support
- Tools: Stylua, clang.
- Sway: Tiling Wayland compositor
- Fuzzel: Application launcher
- Catppuccin: Consistent color scheme
- Spicetify: Custom Spotify theming
- Firefox: With privacy extensions:
- Dark Reader
- Ghostery
- Vimium
- YouTube Recommended Videos
- Proton Pass
- Terminal Tools: Tmux, Zsh with custom plugins
- Media: imv (image viewer), kiwix-tools (local documentation hoster)
- Productivity: tealdeer (tldr)
- Security: Proton Pass, Proton Authenticator, GnuPG
This flake uses the following inputs:
nixpkgs: nixos-unstablehome-manager: User environment managementspicetify-nix: Spotify themingcatppuccin/nix: Catppuccin themingneovim-nightly-overlay: Latest Neovimnur: Nix User Repositorytreesitter: Syntax highlightingwrappers: Wrapper utilities
# Rebuild the system
sudo nixos-rebuild switch --flake .
# Build only home configuration
home-manager switch --flake .#null# Enter development environment
nix develop .#nvim- Hostname: grimm
- Architecture: x86_64-linux
- User: null
- State Version: 25.05
The configuration uses a modular approach with the ghost option set for easy customization:
ghost = {
dev = {
enhancements.enable = true;
packages.enable = true;
# ... other options
};
browser.enable = true;
fuzzel.enable = true;
};Uses nix-community cache for faster builds:
https://nix-community.cachix.org- Public key:
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
Personal NixOS configuration by Ghost/randomdude16671