Compare commits
10
Commits
8cedb0a022
...
721d607a1c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
721d607a1c | ||
|
|
9cc4c24c04 | ||
|
|
ea6774eca1 | ||
|
|
fb998d858f | ||
|
|
4ffd77793a | ||
|
|
f8bb112e8d | ||
|
|
b1b4184428 | ||
|
|
aa41800fc9 | ||
|
|
d1d059d6a4 | ||
|
|
5314db937f |
No files matched your search
+6
-5
@@ -1,11 +1,12 @@
|
||||
keys:
|
||||
- &kiskaadee age16nr2t9jrw09kakuxy2vtvtgtwa9jvy5dmtge25rzlqelf5cjy4es46alu9
|
||||
- &desktop age18q3lr2z4yeg2f86my42ym4hx0dvcwgjshmchyhdkgwvf4k37dsyq3mcjse
|
||||
- &server age18q3lr2z4yeg2f86my42ym4hx0dvcwgjshmchyhdkgwvf4k37dsyq3mcjse
|
||||
- &laptop age1pln9sxy5j93lklqklfwp3qepx7x4cs4y2w63n9y3ykt68qgra5ysqleesg
|
||||
|
||||
creation_rules:
|
||||
- path_regex: hosts/(desktop|server)/secrets\.yaml$
|
||||
- path_regex: hosts/(server|laptop)/secrets\.yaml$
|
||||
key_groups:
|
||||
- pgp: []
|
||||
age:
|
||||
- *kiskaadee
|
||||
- *desktop
|
||||
- *server
|
||||
- *laptop
|
||||
|
||||
+62
-46
@@ -2,7 +2,7 @@
|
||||
|
||||
## Core Principles
|
||||
|
||||
This repository manages a declarative NixOS configuration for multiple host targets (`desktop`, `laptop`) and shared user environments via Home Manager.
|
||||
This repository manages a declarative NixOS configuration for multiple host targets (`server`, `desktop`, `laptop`) and shared user environments via Home Manager.
|
||||
|
||||
1. **Git is the Source of Truth**: Every persistent system configuration must be declaratively defined within this repository.
|
||||
2. **Runtime State Separation**: Runtime state (Docker volumes, dynamic IP caches, `/run/secrets/`, mutable state) must not become configuration state.
|
||||
@@ -16,10 +16,19 @@ This repository manages a declarative NixOS configuration for multiple host targ
|
||||
Config/
|
||||
├── flake.nix # Flake inputs and nixosConfigurations public entrypoint
|
||||
├── flake.lock # Pinned dependencies
|
||||
├── home.nix # Root Home Manager shared entrypoint
|
||||
├── home.nix # Root Home Manager shared entrypoint (Pure CLI: base, neovim, terminal)
|
||||
├── .sops.yaml # SOPS encryption keys and path rules
|
||||
│
|
||||
├── hosts/ # Machine-specific configurations
|
||||
│ ├── server/
|
||||
│ │ ├── configuration.nix # Server NixOS configuration (headless homelab node)
|
||||
│ │ ├── hardware-configuration.nix # Generated hardware configuration
|
||||
│ │ ├── home.nix # Server-specific Home Manager profile (diagnostics CLI)
|
||||
│ │ ├── secrets.yaml # Encrypted server secrets (SOPS)
|
||||
│ │ ├── dynu.nix # Dynu DDNS update service
|
||||
│ │ ├── homeserver.nix # Core homelab runtime services (Docker)
|
||||
│ │ └── traefik-deployments.nix # Traefik edge reverse proxy
|
||||
│ │
|
||||
│ ├── desktop/
|
||||
│ │ ├── configuration.nix # Desktop NixOS configuration & server specialization
|
||||
│ │ ├── hardware-configuration.nix # Generated hardware configuration
|
||||
@@ -32,7 +41,7 @@ Config/
|
||||
│ └── laptop/
|
||||
│ ├── configuration.nix # Laptop NixOS configuration (Niri compositor)
|
||||
│ ├── hardware-configuration.nix # Generated hardware configuration
|
||||
│ ├── home.nix # Laptop-specific Home Manager profile
|
||||
│ ├── home.nix # Laptop-specific Home Manager profile (Niri dotfiles)
|
||||
│ └── secrets.yaml # Encrypted laptop secrets (SOPS)
|
||||
│
|
||||
├── modules/
|
||||
@@ -40,11 +49,12 @@ Config/
|
||||
│ │ ├── base.nix # Core OS settings, networking, audio, docker, bluetooth
|
||||
│ │ └── graphical.nix # Shared display manager (greetd / DMS) & graphical daemons
|
||||
│ │
|
||||
│ └── user/ # Reusable Home Manager modules (shared across hosts)
|
||||
│ ├── base.nix # Core shell, utilities, Git, common environment
|
||||
│ ├── apps.nix # Centralized user applications & CLI tools
|
||||
│ ├── graphical.nix # Graphical user tools & Neovim configuration
|
||||
│ ├── terminal.nix # Terminal emulators (Alacritty), multiplexers (Tmux), prompt
|
||||
│ └── user/ # Reusable Home Manager modules (tiered split)
|
||||
│ ├── base.nix # Tier 1: Pure CLI shell, utilities, Git, common environment
|
||||
│ ├── terminal.nix # Tier 1: Pure CLI multiplexer (tmux) & prompt (starship)
|
||||
│ ├── neovim.nix # Tier 1: Modular Neovim editor configuration
|
||||
│ ├── apps.nix # Tier 2: Developer & user applications (Tea, Antigravity, SDKs)
|
||||
│ ├── graphical.nix # Tier 3: Graphical user tools, Alacritty, Wayland stack, LSPs
|
||||
│ ├── shell/ # Modular shell scripts, aliases, and functions
|
||||
│ ├── scripts/ # Standalone helper scripts
|
||||
│ └── config/ # Managed application dotfiles
|
||||
@@ -58,42 +68,48 @@ Config/
|
||||
|
||||
```mermaid
|
||||
graph TD
|
||||
A[flake.nix] --> B[nixosConfigurations.desktop]
|
||||
A --> C[nixosConfigurations.laptop]
|
||||
A[flake.nix] --> B[nixosConfigurations.server]
|
||||
A --> C[nixosConfigurations.desktop]
|
||||
A --> D[nixosConfigurations.laptop]
|
||||
|
||||
subgraph Server Host ["hosts/server/"]
|
||||
B --> S_CONF[configuration.nix]
|
||||
S_CONF --> S_HW[hardware-configuration.nix]
|
||||
S_CONF --> S_DY[dynu.nix]
|
||||
S_CONF --> S_TR[traefik-deployments.nix]
|
||||
S_CONF --> S_HS[homeserver.nix]
|
||||
end
|
||||
|
||||
subgraph Desktop Host ["hosts/desktop/"]
|
||||
B --> D[configuration.nix]
|
||||
D --> D1[hardware-configuration.nix]
|
||||
D --> D2[dynu.nix]
|
||||
D --> D3[traefik-deployments.nix]
|
||||
D --> D4[homeserver.nix]
|
||||
D --> D5["specialisation.server"]
|
||||
C --> D_CONF[configuration.nix]
|
||||
D_CONF --> D_HW[hardware-configuration.nix]
|
||||
D_CONF --> D_DY[dynu.nix]
|
||||
D_CONF --> D_TR[traefik-deployments.nix]
|
||||
D_CONF --> D_HS[homeserver.nix]
|
||||
D_CONF --> D_SP["specialisation.server"]
|
||||
end
|
||||
|
||||
subgraph Laptop Host ["hosts/laptop/"]
|
||||
C --> L[configuration.nix]
|
||||
L --> L1[hardware-configuration.nix]
|
||||
D --> L_CONF[configuration.nix]
|
||||
L_CONF --> L_HW[hardware-configuration.nix]
|
||||
end
|
||||
|
||||
subgraph Shared System ["modules/system/"]
|
||||
D --> S1[base.nix]
|
||||
D --> S2[graphical.nix]
|
||||
L --> S1
|
||||
L --> S2
|
||||
end
|
||||
|
||||
subgraph Shared User HM ["home.nix -> modules/user/"]
|
||||
subgraph Tier1 Shared CLI HM ["home.nix (All Hosts)"]
|
||||
B --> H[home.nix]
|
||||
C --> H
|
||||
D --> H
|
||||
H --> U1[base.nix]
|
||||
H --> U2[apps.nix]
|
||||
H --> U3[graphical.nix]
|
||||
H --> U4[terminal.nix]
|
||||
H --> U2[neovim.nix]
|
||||
H --> U3[terminal.nix]
|
||||
end
|
||||
|
||||
subgraph Host-Specific HM ["hosts/<host>/home.nix"]
|
||||
B --> DH[desktop/home.nix]
|
||||
C --> LH[laptop/home.nix]
|
||||
subgraph Tier23 Workstation HM ["Workstation Extensions (Desktop & Laptop)"]
|
||||
C --> DH[desktop/home.nix]
|
||||
D --> LH[laptop/home.nix]
|
||||
DH --> UA[apps.nix]
|
||||
DH --> UG[graphical.nix]
|
||||
LH --> UA
|
||||
LH --> UG
|
||||
end
|
||||
```
|
||||
|
||||
@@ -107,21 +123,19 @@ graph TD
|
||||
- **Includes**:
|
||||
- `hardware-configuration.nix`: Generated hardware and kernel parameters (managed by `nixos-generate-config`).
|
||||
- `configuration.nix`: Hostname, bootloader, host-specific users, GPU/display drivers, and specialisations.
|
||||
- `home.nix`: User packages and dotfiles tied to the host's desktop environment.
|
||||
- `home.nix`: User packages and dotfiles tied to the host's desktop environment or headless role.
|
||||
- `secrets.yaml`: SOPS-encrypted secrets for that machine.
|
||||
- Host infrastructure services (e.g., `homeserver.nix`, `dynu.nix`, `traefik-deployments.nix` on `desktop`).
|
||||
- Host infrastructure services (e.g., `homeserver.nix`, `dynu.nix`, `traefik-deployments.nix` on `server`/`desktop`).
|
||||
|
||||
### 3. `modules/system/`
|
||||
- **Role**: Reusable system configuration shared by multiple hosts.
|
||||
- **Rule**: A module must only be placed here when its assumptions are valid for every host importing it. If a configuration is meaningful only for one host, keep it under `hosts/<host>/`.
|
||||
|
||||
### 4. `modules/user/`
|
||||
- **Role**: Reusable Home Manager modules managing user packages, shell environments, and dotfiles.
|
||||
- **Subcomponents**:
|
||||
- Shared user applications belong under `modules/user/`. `apps.nix` is the current central application module.
|
||||
- `base.nix`: Git, shell baseline, session variables.
|
||||
- `graphical.nix`: User-level graphical tools and modular Neovim configuration.
|
||||
- `terminal.nix`: Multiplexers (`tmux`), terminal emulators (`alacritty`), prompt (`starship`).
|
||||
- **Role**: Reusable Home Manager modules organized into clean, predictable layers:
|
||||
- **Tier 1: Pure CLI Base** (`base.nix`, `terminal.nix`, `neovim.nix` via `home.nix`): Imported on all hosts (headless server, laptop, desktop). Provides pure terminal tools (`tmux`, `starship`), editor, Git, and essential CLI diagnostics.
|
||||
- **Tier 2: Developer & User Apps** (`apps.nix`): Imported by workstation profiles. Provides developer toolchains, cloud SDKs, Git forge clients (`tea`, `gh`), and media tools.
|
||||
- **Tier 3: Graphical Desktop Environment** (`graphical.nix`): Imported by workstation profiles. Provides Alacritty, Firefox, Zen Browser, Zed, DankSearch, Wayland capture/clipboard utilities (`wl-clipboard`, `grim`, `slurp`, `swappy`, `wf-recorder`, `obs-studio`), and Language Servers.
|
||||
- `shell/`, `scripts/`, `config/`: Shell utility files and structured dotfiles.
|
||||
|
||||
---
|
||||
@@ -134,13 +148,15 @@ graph TD
|
||||
| **Shared System Services** | `modules/system/` | Systemd services, system packages, or OS features valid for all importing hosts. |
|
||||
| **Host System Settings** | `hosts/<host>/configuration.nix` | Hostname, bootloader, user groups, machine-specific daemons. |
|
||||
| **Hardware / Disks** | `hosts/<host>/hardware-configuration.nix` | Generated configuration. Do not manually restructure or refactor. |
|
||||
| **Shared User Apps** | `modules/user/` (`apps.nix`) | Default location for CLI and GUI user software common across hosts. |
|
||||
| **Host-Specific User Apps** | `hosts/<host>/home.nix` | Tools relevant only to that host (e.g., Hyprland screen recorders on desktop). |
|
||||
| **Shared CLI Foundations** | `modules/user/base.nix`, `terminal.nix` | Tier 1 pure CLI tools (Git, tmux, starship, core utilities) shared across all hosts. |
|
||||
| **Workstation Dev Tools** | `modules/user/apps.nix` | Tier 2 developer CLI & cloud tools (`tea`, `antigravity`, compilers, SDKs). |
|
||||
| **Workstation Graphical Stack** | `modules/user/graphical.nix` | Tier 3 GUI applications, terminal emulator (`alacritty`), Wayland tools, LSPs. |
|
||||
| **Host-Specific User Apps** | `hosts/<host>/home.nix` | Tools relevant only to that host (e.g., Hyprland `grimblast` on desktop). |
|
||||
| **Shared Shell Tools** | `modules/user/shell/` | Modular bash/zsh helpers, aliases, and functions. |
|
||||
| **Standalone Scripts** | `modules/user/scripts/` | Executable user shell scripts. |
|
||||
| **Application Dotfiles** | `modules/user/config/` | Managed static configuration files linked into `$HOME/.config/`. |
|
||||
| **Encrypted Secrets** | `hosts/<host>/secrets.yaml` | Encrypted with SOPS/age; referenced via `config.sops.secrets.*.path`. |
|
||||
| **Desktop Homelab / DDNS** | `hosts/desktop/` | Desktop-specific homelab infrastructure, reverse proxy, and DDNS monitor. |
|
||||
| **Homelab Services / DDNS** | `hosts/server/` or `hosts/desktop/` | Machine-specific homelab infrastructure, reverse proxy, and DDNS monitor. |
|
||||
| **How-To Guides** | `docs/` | Operational procedures and maintenance workflows. |
|
||||
|
||||
---
|
||||
@@ -150,10 +166,10 @@ graph TD
|
||||
These rules define the repository boundaries and must not be violated:
|
||||
|
||||
1. **Flake Public Entrypoint Invariant**: `flake.nix` is the sole public entrypoint for building the repository's NixOS host configurations.
|
||||
2. **Package Ownership Invariant**: Shared user applications belong under `modules/user/` (with `apps.nix` as the central application module). Do not introduce arbitrary package lists in `modules/system/` unless they are strictly required for system-wide root maintenance or core OS services.
|
||||
3. **Host Isolation Invariant**: Desktop-specific homelab infrastructure (`homeserver.nix`, `traefik-deployments.nix`, `dynu.nix`) must remain isolated under `hosts/desktop/` and must never be imported into `hosts/laptop/`.
|
||||
2. **Package Ownership Invariant**: Shared user applications belong under `modules/user/` categorized by tier (`base.nix` / `terminal.nix` for pure CLI, `apps.nix` for developer tools, `graphical.nix` for GUI/Wayland). Do not introduce arbitrary package lists in `modules/system/` unless strictly required for system-wide root maintenance or core OS services.
|
||||
3. **Host Isolation Invariant**: Machine-specific homelab infrastructure (`homeserver.nix`, `traefik-deployments.nix`, `dynu.nix`) must remain isolated under their respective host directories and must never be imported into `hosts/laptop/`.
|
||||
4. **Desktop Server Specialisation Invariant**: `hosts/desktop/configuration.nix` defines `specialisation.server.configuration`. The server specialization must remain valid, bootable, and strictly headless (disabling display managers, PipeWire, Bluetooth, and desktop sleep targets).
|
||||
5. **Secrets Security Invariant**: Secrets must stay encrypted in Git via SOPS. Plaintext secrets must never be committed. Configurations must refer to secrets at runtime via `/run/secrets/` or `config.sops.secrets.<name>.path`. Never decrypt secrets into tracked or persistent working-tree files. Never add, modify, or rotate SOPS/age keys unless explicitly requested.
|
||||
6. **Hardware Configuration Invariant**: `hardware-configuration.nix` is generated configuration. Do not manually restructure, clean up, or refactor it. Hardware-specific changes should normally be produced by `nixos-generate-config`; deliberate manual additions require explicit justification.
|
||||
7. **Consumer Validation Invariant**: Changes to shared modules (`modules/system/` or `modules/user/`) or composed host configurations must be evaluated against all downstream consumers in the import graph (`desktop` and `laptop`).
|
||||
7. **Consumer Validation Invariant**: Changes to shared modules (`modules/system/` or `modules/user/`) or composed host configurations must be evaluated against all downstream consumers in the import graph (`server`, `desktop`, and `laptop`).
|
||||
8. **State Compatibility Invariant**: `system.stateVersion` and `home.stateVersion` (`26.05`) are compatibility declarations for stateful data and must not be bumped casually as part of routine maintenance or package updates.
|
||||
@@ -18,6 +18,8 @@
|
||||
# Ensure cargo/bin (and other user binaries) are in the system PATH
|
||||
home.sessionPath = [
|
||||
"$HOME/.cargo/bin"
|
||||
"$HOME/.local/bin"
|
||||
"$HOME/Core/scripts"
|
||||
];
|
||||
|
||||
# The state version of Home Manager that this configuration is compatible with.
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
# Host-specific package installations for desktop (Hyprland environment)
|
||||
home.packages = with pkgs; [
|
||||
grimblast # Screenshot utility for Hyprland
|
||||
obs-studio # High-feature video capture and streaming studio
|
||||
wf-recorder # Light recorder for Wayland-based window managers
|
||||
];
|
||||
|
||||
# Mount custom Hyprland and DankMaterialShell configuration files declaratively
|
||||
|
||||
@@ -63,6 +63,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# 4. Open ports in the firewall for Traefik
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
# 4. Open ports in the firewall for Traefik and Gitea SSH
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 2223 ];
|
||||
}
|
||||
@@ -43,6 +43,7 @@
|
||||
# --- Gitea ---
|
||||
GITEA_DOMAIN = "gitea.roadtotech.me";
|
||||
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
||||
GITEA_SSH_PORT = "2223";
|
||||
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
||||
|
||||
# --- Jellyfin ---
|
||||
|
||||
@@ -8,14 +8,4 @@
|
||||
../../modules/user/apps.nix
|
||||
../../modules/user/graphical.nix
|
||||
];
|
||||
|
||||
# Host-specific package installations for laptop workstation
|
||||
home.packages = with pkgs; [
|
||||
obs-studio # High-feature video capture and streaming studio
|
||||
wf-recorder # Light recorder for Wayland-based window managers
|
||||
];
|
||||
|
||||
# Niri WM declarative configuration files
|
||||
home.file.".config/niri/config.kdl".source = ../../modules/user/config/niri/config.kdl;
|
||||
home.file.".config/niri/custom.kdl".source = ../../modules/user/config/niri/custom.kdl;
|
||||
}
|
||||
@@ -48,6 +48,9 @@
|
||||
# Define the main user profile
|
||||
users.users.kiskaadee = {
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICAVPPMk+WApUd/fo78+lsRGnLKSlY4GDZiNGKwBAifD"
|
||||
];
|
||||
extraGroups = [
|
||||
"wheel" # Enable sudo access
|
||||
"docker" # Allows running docker commands without sudo
|
||||
|
||||
@@ -63,6 +63,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# 4. Open ports in the firewall for Traefik
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
# 4. Open ports in the firewall for Traefik and Gitea SSH
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 2223 ];
|
||||
}
|
||||
+18
-17
@@ -1,5 +1,6 @@
|
||||
gh_repo_token: ENC[AES256_GCM,data:KhjkHZ6DgpOX2uBOPL1gEP/A0el7ThheNnMZzuItWMxORSNp/0RScw==,iv:Lqutj5o+YmQT5UzVc5Jb4wb23xx39BjYOqhEhVwWEO4=,tag:J50S36WWc+ZwHj15IcrRFg==,type:str]
|
||||
dynu_user: ENC[AES256_GCM,data:wDnJP2jHasV4,iv:7yk+J9tO9yqwe3POjFUTkP10I0gp1eEEQPvs4SJzBd0=,tag:98+v/rJGrTDTrxAQqhVomA==,type:str]
|
||||
dynu_domain: ENC[AES256_GCM,data:bZGnwbQEGVWnTRe7aWMSAMuhsZcIcmb2,iv:nWQzYtJeLYbtqlfe2hDMvtksFGuJ76Qjm+lnG7X2zgo=,tag:65UFCJl4JueHvkiRwcwdjQ==,type:str]
|
||||
dynu_domain: ENC[AES256_GCM,data:3m2kTOriCfg+OUOLkA==,iv:jbWVHQETVDV/mWnEWrwXzpo+BAwzZkA5WB//rSeoxNs=,tag:psP9jmzVkKfD3Cgjxa0Szg==,type:str]
|
||||
dynu_password: ENC[AES256_GCM,data:F+YtoH6rJov2tgDdrIBGQ99b66PfJhUH0rybYhiF9ck=,iv:3o7vaYT8lNwn0fDt3opHtg5OGKkSxF8RkONTbFGe6Hw=,tag:T5EnMSwGHwAtfK1mS6FvMQ==,type:str]
|
||||
dynu_api_key: ENC[AES256_GCM,data:4v2mHY8gXIYfiEDjTcDYxhVXc5Lb/szA40oLOvwltGE=,iv:cq7pYGmN7lIWQYG5x+kaoH3GbdAb7MEufdHEMwaeFnA=,tag:sUTgBFcMGRMFgDzgDobsKw==,type:str]
|
||||
pdf_decrypt_password: ENC[AES256_GCM,data:8lh3pW2rMFs9AA==,iv:4+e0urvjYmdZ4/c0KcD7v9Ps8nKvopdYquwaMlYi2xQ=,tag:XHUESw6g1h1tR4EHrD4SaQ==,type:str]
|
||||
@@ -20,23 +21,23 @@ sops:
|
||||
age:
|
||||
- enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBGRUpiNDJVODBxZ3o0TGwv
|
||||
MHNCU2lENkdXMGJVcW5DeDJjQjJCaExTR0VVCjlTbVF4VW9FR3Q0akwrNlZZR09V
|
||||
Z2NYT2Q1bGtHdkhhNnJtdGVzVVJIZ2MKLS0tIHhkU1l0TDMxWUVEK280WVcxVk8w
|
||||
Y0ZUZ0xRdXhTRGxGSk9lOE1Ha1l2MFUKxUhwgiNLkWuYcxq/4vKVJ/Kdot8b8fEh
|
||||
DcZmV3Q+7hi2cZvkJ3MFEGNmESe7//bGHXDJOt7rEnCcjgbU+jPAug==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age16nr2t9jrw09kakuxy2vtvtgtwa9jvy5dmtge25rzlqelf5cjy4es46alu9
|
||||
- enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA0U3dFSTBxckZjTFpMYzIv
|
||||
L2lwVk5HMk91YjdNejNGTkR0Uy9qR0pYVEJNCk5CQ2xLRS9rQnU5UzFzc2RzY1Rr
|
||||
NUNCWlA0Nmg5VFVkTzBNVG8vaWZkMEEKLS0tIFFwdW0yVFJyQmdhMk9tcStURTFm
|
||||
MjdVUVJEZHB1SUlGYVlNTDdER0lnb2cKbJ6sWXplLLph2o+0RbAk5DXPBk3Q9LaD
|
||||
KHX+ZcBi2WoOtZJEs5G+Z6fGeZHjJ1X2JTCv9oINsppu8FUovkYX/A==
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBBKzVPdHc2MHJQMTJGN3hN
|
||||
L3puWlVJTEU2OXVhOTl4WGhTbm5iNmlINDJ3ClBubThRWFpJMCtOeEFUeGJyQzkw
|
||||
cGh4YklHM3NlSkp5TDR5dmtuVUwvK2sKLS0tIFF5M1JYWjRSeW1nVytuY1lnaTBa
|
||||
NldSTzNTN1NUcllxQ1gxeVF6NGladHMKfpxCOTT2XmMtyewi6TDW3hYeKKc6D84/
|
||||
wFrmN0Q4nZzJ3+v9+rQ8Q/w36zaTEgrCE/B7+/swhzaVUOOFY7Cd2w==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age18q3lr2z4yeg2f86my42ym4hx0dvcwgjshmchyhdkgwvf4k37dsyq3mcjse
|
||||
lastmodified: "2026-08-11T16:01:34Z"
|
||||
mac: ENC[AES256_GCM,data:PoTV9ffRfrA04oKQj57pAK3TeH4VRZ9IYxlt3qQ9ELM6fgc0+HxXYGF3XHwier1Qk8KieZtL1CeWsCwVSMIbvs6krDqqv7dSWoVs8re2cVlkSpa99eReR1wpbNBOvv2mAHBVUgMfQlht/GaBbwbswk9bnIUY5zB7AsqCSjSsPQE=,iv:49yMPyXAPeyp1Peq/L3ruLingnyWnaok4t05lSqEnTQ=,tag:PXuMC2ZjZ9eq2Xn2V+ubHQ==,type:str]
|
||||
- enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBseXFpMlRvdEFzb25IM3VV
|
||||
Mjc1Y3hvNVRyRUhzaXRiM3RnRGhja0Zwbm5BCmUwRU1iMjRPZzBNYzd3djkrZk9Q
|
||||
NHR0bEYwTFRDK2F3MlZkdlN3NWxLcVEKLS0tIFRaWVN4akZWSUw5eU9zbjJEZnl1
|
||||
MDV5R2dzSzdTdVRGU3BnaHo4UlpPTnMKrfzwd8jHt3QQDlbKT2D8+yViNdVrtown
|
||||
ZhaE25Ltp0SVX3/ZpmXtvNktmBQHvTLYwtm8a7SC5knBcqhOQJ+1Ow==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age1pln9sxy5j93lklqklfwp3qepx7x4cs4y2w63n9y3ykt68qgra5ysqleesg
|
||||
lastmodified: "2026-09-08T19:20:50Z"
|
||||
mac: ENC[AES256_GCM,data:TD0nq9+2SCHyXHMJmVKF/hWyZz/GHb+7DBrbkFf02fOgeltWreahYig2hV0FMTZLV9cm49GWBdYRYZXDyNvBNaixGu6ylJKpz0t5PG9uSinh4PGLV8HK6RFlFZ757Et22FSfWowerxgWLmJC+WUfqVRR+4KJWsMV1r2zrs443v4=,iv:WSSOXOVporZERqiueQaucYwUcen0PTWNenQJC0CzTO8=,tag:mAqTnAexg1F0y4Hcq8f6ug==,type:str]
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.13.3
|
||||
@@ -43,6 +43,7 @@
|
||||
# --- Gitea ---
|
||||
GITEA_DOMAIN = "gitea.roadtotech.me";
|
||||
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
||||
GITEA_SSH_PORT = "2223";
|
||||
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
||||
|
||||
# --- Jellyfin ---
|
||||
|
||||
@@ -13,7 +13,6 @@ in
|
||||
# Local CLI & Workflow utilities
|
||||
bundleProject
|
||||
recordScript
|
||||
wf-recorder # Light recorder for Wayland-based window managers
|
||||
|
||||
# Media, Note-taking & Graphical Tools
|
||||
mpv # Fast, scriptable, keyboard-driven CLI media player
|
||||
@@ -25,7 +24,8 @@ in
|
||||
obsidian # Markdown-based personal knowledge wiki and note-taking app
|
||||
libreoffice # Comprehensive open-source office suite (Writer, Calc, Impress, Draw)
|
||||
|
||||
# Cloud CLI, Database Management & Archive tools
|
||||
# Cloud CLI, Git Forge & Database Management
|
||||
tea # Gitea official command line client
|
||||
google-cloud-sdk # GCP administration utilities
|
||||
turso-cli # Management interface for Turso libSQL cloud databases
|
||||
postgresql # PostgreSQL client utilities (psql, pg_dump)
|
||||
@@ -57,6 +57,9 @@ in
|
||||
# Rust Tooling
|
||||
cargo # Rust package manager
|
||||
rustc # Rust compiler
|
||||
rustfmt # Official Rust code formatter
|
||||
clippy # Official Rust linter
|
||||
rust-analyzer # Language server for IDE code intelligence
|
||||
gcc # GNU Compiler Collection (provides cc linker)
|
||||
|
||||
# Secrets Management
|
||||
|
||||
+20
-67
@@ -85,27 +85,24 @@
|
||||
# Declaratively configures SSH client connections and host options
|
||||
ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
settings = {
|
||||
laptop = {
|
||||
HostName = "192.168.1.32";
|
||||
"*" = {
|
||||
User = "kiskaadee";
|
||||
Port = 22;
|
||||
ServerAliveInterval = 15;
|
||||
ServerAliveCountMax = 3;
|
||||
};
|
||||
laptop = {
|
||||
HostName = "192.168.1.32";
|
||||
Port = 22;
|
||||
};
|
||||
server-local = {
|
||||
HostName = "192.168.1.36";
|
||||
User = "kiskaadee";
|
||||
Port = 22;
|
||||
ServerAliveInterval = 15;
|
||||
ServerAliveCountMax = 3;
|
||||
};
|
||||
server-remote = {
|
||||
HostName = "roadtotech.me";
|
||||
User = "kiskaadee";
|
||||
Port = 2222;
|
||||
ServerAliveInterval = 15;
|
||||
ServerAliveCountMax = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -149,7 +146,6 @@
|
||||
|
||||
# Shell Aliases for speed, productivity, and command overrides
|
||||
shellAliases = {
|
||||
appctl = "/home/kiskaadee/Core/scripts/appctl";
|
||||
zed = "zeditor";
|
||||
reload = "exec bash";
|
||||
ff = "fastfetch --logo none";
|
||||
@@ -208,71 +204,28 @@
|
||||
# Inject modular shell helper scripts directly into .bashrc.
|
||||
# This allows us to keep discrete logic files without cluttering home.nix or base.nix.
|
||||
bashrcExtra = ''
|
||||
${builtins.readFile ./shell/wayland.sh} # Wayland clipboard helper (wlc)
|
||||
${builtins.readFile ./shell/git.sh} # Git workflow automations (gacp, gitignore)
|
||||
${builtins.readFile ./shell/pdf.sh} # Command line PDF decryption helper
|
||||
${builtins.readFile ./shell/quicklinks.sh} # Interactive fzf web launcher
|
||||
${builtins.readFile ./shell/jump.sh} # Directory jumper & interactive fuzzy navigation
|
||||
${builtins.readFile ./shell/todo.sh} # Todo.txt & tuxedo shortcuts and syntax highlighter
|
||||
# Ensure Home Manager session variables and PATH are available in non-login / SSH shells
|
||||
[[ -f ~/.nix-profile/etc/profile.d/hm-session-vars.sh ]] && . ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||
|
||||
# --- Word Deletion & Readline Keybindings ---
|
||||
if [[ -n "$BASH_VERSION" ]] && [[ "$-" == *i* ]]; then
|
||||
# Ctrl+W: Delete entire word under cursor (backward-word + kill-word)
|
||||
bind '"\C-w": "\eb\ed"' 2>/dev/null
|
||||
|
||||
# Ctrl+Delete: Forward word delete (matches Alacritty \e[3;5~)
|
||||
bind '"\e[3;5~": kill-word' 2>/dev/null
|
||||
|
||||
# Ctrl+Backspace / Alt+Backspace: Backward word delete (start to cursor)
|
||||
bind '"\e\x7f": backward-kill-word' 2>/dev/null
|
||||
bind '"\e\b": backward-kill-word' 2>/dev/null
|
||||
fi
|
||||
|
||||
# --- Visual Entry ---
|
||||
# Display system information dashboard upon opening interactive shells
|
||||
if [[ $- == *i* ]]; then
|
||||
fastfetch --logo none
|
||||
fi
|
||||
${builtins.readFile ./shell/wayland.sh} # Wayland clipboard helper (wlc)
|
||||
${builtins.readFile ./shell/git.sh} # Git workflow automations (gacp, gitignore)
|
||||
${builtins.readFile ./shell/pdf.sh} # Command line PDF decryption helper
|
||||
${builtins.readFile ./shell/quicklinks.sh} # Interactive fzf web launcher
|
||||
${builtins.readFile ./shell/jump.sh} # Directory jumper & interactive fuzzy navigation
|
||||
${builtins.readFile ./shell/todo.sh} # Todo.txt & tuxedo shortcuts and syntax highlighter
|
||||
${builtins.readFile ./shell/interactive.sh} # Readline word deletion keybindings & fastfetch entry
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# 📊 Custom Catnap-style Fastfetch
|
||||
# A stylized, minimalist system information dashboard displayed on shell startup
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
display = {
|
||||
separator = " ";
|
||||
};
|
||||
modules = [
|
||||
{ key = "╭───────────╮"; type = "custom"; }
|
||||
{ key = "│ user {#keys}│"; type = "title"; format = "{user-name}"; }
|
||||
{ key = "│ hname {#keys}│"; type = "title"; format = "{host-name}"; }
|
||||
{ type = "command"; key = "│ os age {#keys}│"; keyColor = "magenta"; text = "printf \"\\e[0m%s days\\e[0m\" \"$(( ($(date +%s) - $(stat -c %W /)) / 86400 ))\""; }
|
||||
{ key = "│ uptime {#keys}│"; type = "uptime"; }
|
||||
{ key = "│ {icon} distro {#keys}│"; type = "os"; }
|
||||
{ key = "│ kernel {#keys}│"; type = "kernel"; }
|
||||
{ key = "│ wm {#keys}│"; type = "wm"; }
|
||||
{ key = "│ desktop {#keys}│"; type = "de"; }
|
||||
{ key = "│ term {#keys}│"; type = "terminal"; }
|
||||
{ key = "│ shell {#keys}│"; type = "shell"; }
|
||||
{ key = "│ cpu {#keys}│"; type = "cpu"; showPeCoreCount = true; }
|
||||
{ key = "│ root {#keys}│"; type = "disk"; folders = "/"; }
|
||||
{ key = "│ home {#keys}│"; type = "disk"; folders = "/home"; }
|
||||
{ key = "│ media {#keys}│"; type = "disk"; folders = "/media"; }
|
||||
{ key = "│ memory {#keys}│"; type = "memory"; }
|
||||
{ key = "├───────────┤"; type = "custom"; }
|
||||
{ key = "│ colors {#keys}│"; type = "colors"; symbol = "circle"; }
|
||||
{ key = "╰───────────╯"; type = "custom"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
programs.fastfetch.enable = true;
|
||||
home.file.".config/fastfetch/config.jsonc".source = ./config/fastfetch/config.jsonc;
|
||||
|
||||
# Standalone System dependencies
|
||||
# Standalone CLI utilities & system dependencies
|
||||
home.packages = with pkgs; [
|
||||
ripgrep fd glow jq tree wl-clipboard sqlite python3 nodejs
|
||||
bc qpdf tty-clock grim slurp swappy libnotify uv
|
||||
curl parallel tuxedo sops age
|
||||
ripgrep fd glow jq tree sqlite python3 nodejs
|
||||
bc qpdf tty-clock uv curl parallel tuxedo sops age
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
[general]
|
||||
import = [
|
||||
"~/.config/alacritty/dank-theme.toml"
|
||||
]
|
||||
|
||||
[font]
|
||||
size = 11.0
|
||||
|
||||
[font.normal]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Regular"
|
||||
|
||||
[font.bold]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Bold"
|
||||
|
||||
[font.italic]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Italic"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Bold Italic"
|
||||
|
||||
[window]
|
||||
decorations = "None"
|
||||
opacity = 1.0
|
||||
|
||||
[window.padding]
|
||||
x = 12
|
||||
y = 12
|
||||
|
||||
[scrolling]
|
||||
history = 3023
|
||||
|
||||
[cursor]
|
||||
blink_interval = 500
|
||||
unfocused_hollow = true
|
||||
|
||||
[cursor.style]
|
||||
shape = "Block"
|
||||
blinking = "On"
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = true
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = false
|
||||
|
||||
[bell]
|
||||
duration = 0
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "C"
|
||||
mods = "Control|Shift"
|
||||
action = "Copy"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "V"
|
||||
mods = "Control|Shift"
|
||||
action = "Paste"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "N"
|
||||
mods = "Control|Shift"
|
||||
action = "SpawnNewInstance"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Equals"
|
||||
mods = "Control|Shift"
|
||||
action = "IncreaseFontSize"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Minus"
|
||||
mods = "Control"
|
||||
action = "DecreaseFontSize"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Key0"
|
||||
mods = "Control"
|
||||
action = "ResetFontSize"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Enter"
|
||||
mods = "Shift"
|
||||
chars = "\n"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Delete"
|
||||
mods = "Control"
|
||||
chars = "\u001b[3;5~"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
key = "Back"
|
||||
mods = "Control"
|
||||
chars = "\u001b\u007f"
|
||||
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "╭───────────╮"
|
||||
},
|
||||
{
|
||||
"type": "title",
|
||||
"key": "│ user {#keys}│",
|
||||
"format": "{user-name}"
|
||||
},
|
||||
{
|
||||
"type": "title",
|
||||
"key": "│ hname {#keys}│",
|
||||
"format": "{host-name}"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ os age {#keys}│",
|
||||
"keyColor": "magenta",
|
||||
"text": "printf \"\\e[0m%s days\\e[0m\" \"$(( ($(date +%s) - $(stat -c %W /)) / 86400 ))\""
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": "│ uptime {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"key": "│ {icon} distro {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": "│ kernel {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": "│ wm {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "de",
|
||||
"key": "│ desktop {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": "│ term {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": "│ shell {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"key": "│ cpu {#keys}│",
|
||||
"showPeCoreCount": true
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "│ root {#keys}│",
|
||||
"folders": "/"
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "│ home {#keys}│",
|
||||
"folders": "/home"
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "│ media {#keys}│",
|
||||
"folders": "/media"
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": "│ memory {#keys}│"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "├───────────┤"
|
||||
},
|
||||
{
|
||||
"type": "colors",
|
||||
"key": "│ colors {#keys}│",
|
||||
"symbol": "circle"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "╰───────────╯"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
add_newline = true
|
||||
|
||||
[character]
|
||||
success_symbol = "[➜](bold green)"
|
||||
error_symbol = "[➜](bold red)"
|
||||
|
||||
[directory]
|
||||
style = "bold blue"
|
||||
truncate_to_repo = true
|
||||
@@ -3,13 +3,21 @@
|
||||
# Only imported by desktop and laptop profiles.
|
||||
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Graphical packages managed via Home Manager
|
||||
home.packages = with pkgs; [
|
||||
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default # Modern browser build
|
||||
zed-editor # GPU-accelerated desktop text editor
|
||||
|
||||
# Wayland Clipboard, Screenshot & Screen Capture Utilities
|
||||
wl-clipboard
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
libnotify
|
||||
wf-recorder
|
||||
obs-studio
|
||||
|
||||
# Language Servers for Zed (and general dev use)
|
||||
rust-analyzer
|
||||
pyright
|
||||
@@ -24,6 +32,12 @@
|
||||
prettier
|
||||
];
|
||||
|
||||
# GPU-Accelerated Terminal Emulator (Alacritty)
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = builtins.fromTOML (builtins.readFile ./config/alacritty/alacritty.toml);
|
||||
};
|
||||
|
||||
# Firefox configuration
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# --- Word Deletion & Readline Keybindings ---
|
||||
if [[ -n "$BASH_VERSION" ]] && [[ "$-" == *i* ]]; then
|
||||
# Ctrl+W: Delete entire word under cursor (backward-word + kill-word)
|
||||
bind '"\C-w": "\eb\ed"' 2>/dev/null
|
||||
|
||||
# Ctrl+Delete: Forward word delete (matches Alacritty \e[3;5~)
|
||||
bind '"\e[3;5~": kill-word' 2>/dev/null
|
||||
|
||||
# Ctrl+Backspace / Alt+Backspace: Backward word delete (start to cursor)
|
||||
bind '"\e\x7f": backward-kill-word' 2>/dev/null
|
||||
bind '"\e\b": backward-kill-word' 2>/dev/null
|
||||
fi
|
||||
|
||||
# --- Visual Entry ---
|
||||
# Display system information dashboard upon opening interactive shells
|
||||
if [[ $- == *i* ]]; then
|
||||
fastfetch --logo none
|
||||
fi
|
||||
@@ -1,76 +1,6 @@
|
||||
# 🖥️ Terminal Environment configuration
|
||||
# Defines user-space preferences for Alacritty, Tmux, and Starship.
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
# Parse true ASCII Escape (0x1b) and DEL (0x7f) bytes so TOML serialization generates real escape sequences
|
||||
esc = builtins.fromJSON "\"\\u001b\"";
|
||||
del = builtins.fromJSON "\"\\u007f\"";
|
||||
in
|
||||
{
|
||||
# GPU-Accelerated Terminal Emulator (Alacritty)
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
import = [
|
||||
"~/.config/alacritty/dank-theme.toml"
|
||||
];
|
||||
};
|
||||
|
||||
font = {
|
||||
normal = { family = "FiraCode Nerd Font"; style = "Regular"; };
|
||||
bold = { family = "FiraCode Nerd Font"; style = "Bold"; };
|
||||
italic = { family = "FiraCode Nerd Font"; style = "Italic"; };
|
||||
bold_italic = { family = "FiraCode Nerd Font"; style = "Bold Italic"; };
|
||||
size = 11.0;
|
||||
};
|
||||
|
||||
window = {
|
||||
decorations = "None";
|
||||
padding = { x = 12; y = 12; };
|
||||
opacity = 1.0;
|
||||
};
|
||||
|
||||
scrolling = {
|
||||
history = 3023;
|
||||
};
|
||||
|
||||
cursor = {
|
||||
style = { shape = "Block"; blinking = "On"; };
|
||||
blink_interval = 500;
|
||||
unfocused_hollow = true;
|
||||
};
|
||||
|
||||
mouse = {
|
||||
hide_when_typing = true;
|
||||
};
|
||||
|
||||
selection = {
|
||||
save_to_clipboard = false;
|
||||
};
|
||||
|
||||
bell = {
|
||||
duration = 0;
|
||||
};
|
||||
|
||||
keyboard = {
|
||||
bindings = [
|
||||
{ key = "C"; mods = "Control|Shift"; action = "Copy"; }
|
||||
{ key = "V"; mods = "Control|Shift"; action = "Paste"; }
|
||||
{ key = "N"; mods = "Control|Shift"; action = "SpawnNewInstance"; }
|
||||
{ key = "Equals"; mods = "Control|Shift"; action = "IncreaseFontSize"; }
|
||||
{ key = "Minus"; mods = "Control"; action = "DecreaseFontSize"; }
|
||||
{ key = "Key0"; mods = "Control"; action = "ResetFontSize"; }
|
||||
{ key = "Enter"; mods = "Shift"; chars = "\n"; }
|
||||
{ key = "Delete"; mods = "Control"; chars = "${esc}[3;5~"; }
|
||||
{ key = "Back"; mods = "Control"; chars = "${esc}${del}"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Terminal Multiplexer (Tmux)
|
||||
# Allows maintaining persistent shell sessions, window splitting, and tabs.
|
||||
programs.tmux = {
|
||||
@@ -82,16 +12,6 @@ in
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true; # Mount prompt configuration inside Bash shells
|
||||
settings = {
|
||||
add_newline = true;
|
||||
character = {
|
||||
success_symbol = "[➜](bold green)";
|
||||
error_symbol = "[➜](bold red)";
|
||||
};
|
||||
directory = {
|
||||
style = "bold blue";
|
||||
truncate_to_repo = true; # Hides directory path prefixes when navigating inside Git repositories
|
||||
};
|
||||
};
|
||||
settings = builtins.fromTOML (builtins.readFile ./config/starship.toml);
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user