2023-11-13 04:31:54 +01:00
|
|
|
# Modules
|
|
|
|
|
|
|
|
This directory contains custom module definitions used throughout my config.
|
|
|
|
|
|
|
|
## File structure
|
|
|
|
|
|
|
|
| Directory | Description |
|
|
|
|
| ------------------------------ | -------------------------------------------------------------- |
|
|
|
|
| [common](./common) | Modules usable in both HM and nixos (and perhaps other places) |
|
2024-05-21 01:37:39 +02:00
|
|
|
| [nixos](./nixos) | Nixos specific functionality |
|
2023-11-13 04:31:54 +01:00
|
|
|
| [home-manager](./home-manager) | Home manager specific functionality |
|
|
|
|
|
|
|
|
## Common modules
|
|
|
|
|
2024-05-21 01:37:39 +02:00
|
|
|
| Name | Attribute | Description |
|
|
|
|
| ----------------------------------------------- | --------------------------- | --------------------------------------------------------------------------------------------- |
|
|
|
|
| [toggles](./common/toggles.nix) | `satellite.toggles` | Generic interface for feature flags |
|
|
|
|
| [lua-lib](./common/lua-lib.nix) | `satellite.lib.lua` | Helpers for working with lua code |
|
|
|
|
| [korora-lua](./common/korora-lua.nix) | - | Nix -> lua encoder typechecked using [korora](https://github.com/adisbladis/korora) |
|
|
|
|
| [korora-neovim](./common/korora-neovim.nix) | - | Nix -> neovim config helpers typechecked using [korora](https://github.com/adisbladis/korora) |
|
|
|
|
| [theming](./common/theming.nix) | `satellite.theming` | [stylix](https://github.com/danth/stylix) theming helpers and configuration |
|
|
|
|
| [lua-colorscheme](./common/lua-colorscheme.nix) | `satellite.colorscheme.lua` | Base16 theme to lua module generation |
|
2023-11-13 04:31:54 +01:00
|
|
|
|
|
|
|
## Nixos modules
|
|
|
|
|
2024-05-21 01:37:39 +02:00
|
|
|
| Name | Attribute | Description |
|
|
|
|
| -------------------------------------- | ----------------------- | ------------------------------------------- |
|
|
|
|
| [pounce](./nixos/pounce.nix) | `services.pounce` | Module for pounce & calico configuration |
|
2024-06-13 15:47:36 +02:00
|
|
|
| [nginx](./nixos/nginx.nix) | `satellite.nginx` | Helpers for nginx configuration |
|
|
|
|
| [ports](./nixos/ports.nix) | `satellite.ports` | Global port specification |
|
2024-05-21 01:37:39 +02:00
|
|
|
| [cloudflared](./nixos/cloudflared.nix) | `satellite.cloudflared` | Helpers for cloudflare tunnel configuration |
|
|
|
|
| [pilot](./nixos/pilot.nix) | `satellite.pilot` | Defined the concept of a "main user" |
|
2023-11-13 04:31:54 +01:00
|
|
|
|
|
|
|
## Home-manager modules
|
|
|
|
|
2024-05-21 01:37:39 +02:00
|
|
|
| Name | Attribute | Description |
|
|
|
|
| ------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------- |
|
|
|
|
| [discord](./home-manager/discord.nix) | `programs.discord` | Additional discord options |
|
|
|
|
| [firefox](./home-manager/firefox) | `programs.firefox.apps` | Hacky system for wrapping websites into desktop apps by hiding the firefox tabbar |
|
|
|
|
| [monitors](./home-manager/monitors.nix) | `satellite.monitors` | WM generic monitor configuration |
|
|
|
|
| [persistence](./home-manager/persistence.nix) | `satellite.persistence` | Syntactic wrapper around [impermanence](https://github.com/nix-community/impermanence) |
|
|
|
|
| [satellite-dev](./home-manager/satellite-dev.nix) | `satellite.dev` | Helpers for managing dotfiles which are actively under development |
|