2025-10-04 15:53:48 +02:00
|
|
|
# m3ta-nixpkgs
|
|
|
|
|
|
2025-12-30 15:02:58 +01:00
|
|
|
Personal Nix flake repository: custom packages, overlays, NixOS modules, and Home Manager modules.
|
2025-10-04 15:53:48 +02:00
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
|
|
- 🎁 **Custom Packages**: Collection of personal Nix packages
|
|
|
|
|
- 🔄 **Overlays**: Package modifications and enhancements
|
2025-12-30 15:02:58 +01:00
|
|
|
- 🐚 **Development Shells**: Pre-configured environments (Python, DevOps)
|
2025-10-04 15:53:48 +02:00
|
|
|
- ⚙️ **NixOS Modules**: System-level configuration modules
|
|
|
|
|
- 🏠 **Home Manager Modules**: User-level configuration modules
|
2025-10-04 17:03:46 +02:00
|
|
|
- 📚 **Library Functions**: Helper utilities for configuration management
|
2025-10-04 15:53:48 +02:00
|
|
|
- ❄️ **Flakes Only**: Modern Nix flakes support (no channels)
|
|
|
|
|
|
2025-12-30 15:02:58 +01:00
|
|
|
## Quick Links
|
2025-10-04 15:53:48 +02:00
|
|
|
|
2025-12-30 15:02:58 +01:00
|
|
|
- 📖 [Full Documentation](./docs)
|
|
|
|
|
- 🚀 [Quick Start Guide](./docs/QUICKSTART.md)
|
|
|
|
|
- 📚 [Architecture](./docs/ARCHITECTURE.md)
|
|
|
|
|
- 🤝 [Contributing](./docs/CONTRIBUTING.md)
|
|
|
|
|
- 📦 [Packages](./docs/packages/)
|
|
|
|
|
- ⚙️ [Modules](./docs/modules/)
|
|
|
|
|
- 📖 [Guides](./docs/guides/)
|
2025-10-04 15:53:48 +02:00
|
|
|
|
2025-12-30 15:42:52 +01:00
|
|
|
## Quick Start
|
2025-10-04 15:53:48 +02:00
|
|
|
|
|
|
|
|
```bash
|
2025-12-30 15:42:52 +01:00
|
|
|
# Add to your flake
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs";
|
|
|
|
|
|
2025-12-30 15:02:58 +01:00
|
|
|
# Build a package
|
2025-10-04 15:53:48 +02:00
|
|
|
nix build git+https://code.m3ta.dev/m3tam3re/nixpkgs#code2prompt
|
|
|
|
|
|
2025-12-30 15:02:58 +01:00
|
|
|
# Run a package
|
2025-10-04 15:53:48 +02:00
|
|
|
nix run git+https://code.m3ta.dev/m3tam3re/nixpkgs#zellij-ps
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Available Packages
|
|
|
|
|
|
|
|
|
|
| Package | Description |
|
|
|
|
|
| ------------------ | ------------------------------------- |
|
|
|
|
|
| `code2prompt` | Convert code to prompts |
|
|
|
|
|
| `hyprpaper-random` | Random wallpaper setter for Hyprpaper |
|
|
|
|
|
| `launch-webapp` | Launch web applications |
|
2025-12-30 15:02:58 +01:00
|
|
|
| `mem0` | AI memory assistant with vector storage |
|
2025-10-04 15:53:48 +02:00
|
|
|
| `msty-studio` | Msty Studio application |
|
|
|
|
|
| `pomodoro-timer` | Pomodoro timer utility |
|
2026-01-06 05:54:39 +01:00
|
|
|
| `rofi-project-opener` | Rofi-based project launcher |
|
2026-01-02 12:24:48 +01:00
|
|
|
| `stt-ptt` | Push to Talk Speech to Text |
|
2025-10-04 15:53:48 +02:00
|
|
|
| `tuxedo-backlight` | Backlight control for Tuxedo laptops |
|
2025-12-30 15:42:52 +01:00
|
|
|
| `zellij-ps` | Project switcher for Zellij |
|
|
|
|
|
|
2026-01-13 20:50:38 +01:00
|
|
|
## Automated Package Updates
|
|
|
|
|
|
|
|
|
|
This repository uses Gitea Actions to automatically update packages using `nix-update`:
|
|
|
|
|
|
|
|
|
|
**Workflow**: [`.gitea/workflows/nix-update.yml`](./.gitea/workflows/nix-update.yml)
|
|
|
|
|
|
|
|
|
|
**Schedule**: Runs weekly on Sundays, and can be triggered manually.
|
|
|
|
|
|
|
|
|
|
**What it does**:
|
|
|
|
|
- Checks all packages in `pkgs/` for updates
|
|
|
|
|
- Updates versions and hashes using `nix-update --flake --commit`
|
|
|
|
|
- Creates a new branch with updates
|
|
|
|
|
- Opens a pull request automatically
|
|
|
|
|
|
|
|
|
|
**Manual Trigger**:
|
|
|
|
|
Go to **Actions → Update Nix Packages with nix-update → Run workflow** in Gitea UI, then optionally specify a specific package to update.
|
|
|
|
|
|
|
|
|
|
**Setup Required**:
|
|
|
|
|
1. Create a Personal Access Token in Gitea (Settings → Applications → Generate Token)
|
|
|
|
|
2. Token scopes needed: `user`, `repo`, `write:issue`
|
|
|
|
|
3. Add token as secret: Settings → Secrets → New → `NIX_UPDATE_TOKEN`
|
2025-12-30 15:42:52 +01:00
|
|
|
|
|
|
|
|
For detailed usage, module documentation, package references, and contribution guidelines, see the [full documentation](./docs).
|
2025-10-04 15:53:48 +02:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Individual packages may have their own licenses. Check each package's `meta.license` attribute.
|
|
|
|
|
|
|
|
|
|
## Maintainer
|
|
|
|
|
|
2025-10-05 12:37:57 +02:00
|
|
|
[@m3tam3re](https://m3ta.dev)
|