forked from KptltD00M/nixy
4e28ca9b48
- Removed USBGuard configuration and its associated comments from configuration.nix. - Cleaned up flake.nix by removing unnecessary overlays. - Updated home.nix to remove references to Helium and Proton, and added Steam. - Deleted secrets.default.nix and secrets.secrets.yaml files for security reasons. - Removed Omen laptop specific configuration from omen.nix. - Deleted vencord.nix as it is no longer needed.
51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
# Groups
|
|
|
|
Groups are curated sets of packages exposed as flake outputs. Each group has two forms:
|
|
|
|
- **`homeManagerModules.<group>`** — full home-manager module (packages + files + systemd units)
|
|
- **`packages.<group>`** — standalone environment for `nix shell` (packages only)
|
|
|
|
## Available groups
|
|
|
|
- dev (go, bun, air, ...)
|
|
- cybersecurity (nmap, john, dirb, ffuf, ...)
|
|
|
|
For the Cybersecurity group, the home-manager module also sets up:
|
|
|
|
- `~/Cyber/wordlists/` with SecLists, fuzz4bounty, and hashcat rules
|
|
- `~/Cyber/tmp/` as a temporary workspace
|
|
|
|
## Use in another flake
|
|
|
|
Add this repo as an input (update the URL to match your repository):
|
|
|
|
```nix
|
|
inputs.nixy.url = "github:yourusername/nixy";
|
|
```
|
|
|
|
Import the home-manager module in your home configuration:
|
|
|
|
```nix
|
|
{ inputs, ... }: {
|
|
imports = [
|
|
inputs.nixy.homeManagerModules.cybersecurity
|
|
# inputs.nixy.homeManagerModules.dev
|
|
# inputs.nixy.homeManagerModules.basic-apps
|
|
# inputs.nixy.homeManagerModules.misc
|
|
];
|
|
}
|
|
```
|
|
|
|
See [GROUPS-REMOTE.md](GROUPS-REMOTE.md) for complete documentation on using groups with different remote URLs and troubleshooting tips.
|
|
|
|
## Quick shell without installing
|
|
|
|
```sh
|
|
nix shell yourusername/nixy#cybersecurity
|
|
nix shell yourusername/nixy#dev
|
|
```
|
|
|
|
This drops you into a shell with all tools in `PATH`. No home-manager required, no wordlists or systemd units.
|
|
|
|
Replace `yourusername/nixy` with your actual repository path.
|