refactor(hosts): rename jason to janet
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
### Local Development
|
||||
```bash
|
||||
nix run .#build # Build current host config
|
||||
nix run .#build -- <hostname> # Build specific host (chidi, jason, michael, tahani)
|
||||
nix run .#build -- <hostname> # Build specific host (chidi, janet, michael, tahani)
|
||||
nix run .#apply # Build and apply locally (darwin-rebuild/nixos-rebuild switch)
|
||||
nix flake check # Validate flake
|
||||
```
|
||||
@@ -62,7 +62,7 @@ alejandra . # Format all Nix files
|
||||
|
||||
**Imports**: Auto-imported by import-tree; underscore-prefixed dirs (`_lib/`, `_darwin/`, etc.) are excluded from auto-import
|
||||
|
||||
**Deployment**: deploy-rs for NixOS hosts (michael, tahani); darwin hosts (chidi, jason) are local-only
|
||||
**Deployment**: deploy-rs for NixOS hosts (michael, tahani); darwin hosts (chidi, janet) are local-only
|
||||
|
||||
### Nix Language Conventions
|
||||
|
||||
@@ -129,7 +129,7 @@ in {
|
||||
|
||||
### Naming Conventions
|
||||
- **Aspect names**: `den.aspects.<name>.<class>` for feature configuration
|
||||
- **Hostnames**: Lowercase, descriptive (e.g., `michael`, `tahani`, `chidi`, `jason`)
|
||||
- **Hostnames**: Lowercase, descriptive (e.g., `michael`, `tahani`, `chidi`, `janet`)
|
||||
- **Module files**: Descriptive, lowercase with hyphens (e.g., `neovim-config.nix`)
|
||||
|
||||
### Secrets Management
|
||||
|
||||
@@ -5,7 +5,7 @@ Personal Nix flake for four machines:
|
||||
- `michael` - x86_64 Linux server
|
||||
- `tahani` - x86_64 Linux home server / workstation
|
||||
- `chidi` - aarch64 Darwin work laptop
|
||||
- `jason` - aarch64 Darwin personal laptop
|
||||
- `janet` - aarch64 Darwin personal laptop
|
||||
|
||||
## Repository Map
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{den, ...}: {
|
||||
den.hosts.aarch64-darwin.jason.users.cschmatzler.aspect = "jason-cschmatzler";
|
||||
den.hosts.aarch64-darwin.janet.users.cschmatzler.aspect = "janet-cschmatzler";
|
||||
|
||||
den.aspects.jason-cschmatzler = {
|
||||
den.aspects.janet-cschmatzler = {
|
||||
includes = [
|
||||
den.aspects.user-darwin-laptop
|
||||
den.aspects.user-personal
|
||||
];
|
||||
};
|
||||
|
||||
den.aspects.jason.includes = [
|
||||
den.aspects.janet.includes = [
|
||||
(den.lib.perHost {
|
||||
includes = [den.aspects.host-darwin-base];
|
||||
|
||||
darwin = {...}: {
|
||||
networking.hostName = "jason";
|
||||
networking.computerName = "jason";
|
||||
networking.hostName = "janet";
|
||||
networking.computerName = "janet";
|
||||
|
||||
sops.secrets.opencode-api-key = {
|
||||
sopsFile = ../../secrets/opencode-api-key;
|
||||
@@ -1,6 +1,6 @@
|
||||
{...}: {
|
||||
den.hosts.aarch64-darwin.chidi.users.cschmatzler = {};
|
||||
den.hosts.aarch64-darwin.jason.users.cschmatzler = {};
|
||||
den.hosts.aarch64-darwin.janet.users.cschmatzler = {};
|
||||
den.hosts.x86_64-linux.michael.users.cschmatzler = {};
|
||||
den.hosts.x86_64-linux.tahani.users.cschmatzler = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user