fix: git identity
This commit is contained in:
@@ -27,7 +27,7 @@ m3ta-home/
|
|||||||
├── users/
|
├── users/
|
||||||
│ └── m3tam3re/
|
│ └── m3tam3re/
|
||||||
│ ├── identities/
|
│ ├── identities/
|
||||||
│ │ ├── private.nix ← Personal: git (m3tm3re), SSH, JJ
|
│ │ ├── private.nix ← Personal: git (m3tam3re), SSH, JJ
|
||||||
│ │ └── work.nix ← Work: git (sascha.koenig), SSH, JJ
|
│ │ └── work.nix ← Work: git (sascha.koenig), SSH, JJ
|
||||||
│ └── preferences/ ← Identity-independent: cliphist, difftastic
|
│ └── preferences/ ← Identity-independent: cliphist, difftastic
|
||||||
└── assets/
|
└── assets/
|
||||||
@@ -39,7 +39,7 @@ m3ta-home/
|
|||||||
`mkHome` composes a complete Home-Manager configuration from three axes:
|
`mkHome` composes a complete Home-Manager configuration from three axes:
|
||||||
|
|
||||||
| Dimension | Options | Description |
|
| Dimension | Options | Description |
|
||||||
|-----------|---------|-------------|
|
| --------- | ------------------- | ----------------------------------------------- |
|
||||||
| **WHO** | `user` + `identity` | Which user, which identity (private/work) |
|
| **WHO** | `user` + `identity` | Which user, which identity (private/work) |
|
||||||
| **WHERE** | `context` | `desktop` or `server` — mutually exclusive |
|
| **WHERE** | `context` | `desktop` or `server` — mutually exclusive |
|
||||||
| **WHAT** | `sets` | `coding`, `gaming`, `media` — freely combinable |
|
| **WHAT** | `sets` | `coding`, `gaming`, `media` — freely combinable |
|
||||||
@@ -108,6 +108,7 @@ home-manager.users.m3tam3re = {
|
|||||||
### Host-Specific Overrides
|
### Host-Specific Overrides
|
||||||
|
|
||||||
Monitor layouts, window rules, and XDG/MIME settings stay in `nixos-config`:
|
Monitor layouts, window rules, and XDG/MIME settings stay in `nixos-config`:
|
||||||
|
|
||||||
- `hosts/m3-kratos/home.nix` — dual DP monitors, Hyprland workspaces
|
- `hosts/m3-kratos/home.nix` — dual DP monitors, Hyprland workspaces
|
||||||
- `hosts/m3-ares/home.nix` — laptop eDP + HDMI, tuxedo-backlight
|
- `hosts/m3-ares/home.nix` — laptop eDP + HDMI, tuxedo-backlight
|
||||||
- Server hosts need no `home.nix` (no desktop config)
|
- Server hosts need no `home.nix` (no desktop config)
|
||||||
@@ -119,8 +120,8 @@ The identity system allows switching between personal and work contexts on any m
|
|||||||
### How Identities Work
|
### How Identities Work
|
||||||
|
|
||||||
| | **Private** | **Work** |
|
| | **Private** | **Work** |
|
||||||
|---|---|---|
|
| ------------- | ---------------------------------------- | ----------------------------- |
|
||||||
| **Git user** | m3tm3re | sascha.koenig |
|
| **Git user** | m3tam3re | sascha.koenig |
|
||||||
| **Git email** | p@m3ta.dev | sascha.koenig@azintec.com |
|
| **Git email** | p@m3ta.dev | sascha.koenig@azintec.com |
|
||||||
| **JJ email** | m@m3tam3re.com | sascha.koenig@azintec.com |
|
| **JJ email** | m@m3tam3re.com | sascha.koenig@azintec.com |
|
||||||
| **SSH hosts** | code.m3ta.dev, github.com, private infra | git.az-gruppe.com, AZ servers |
|
| **SSH hosts** | code.m3ta.dev, github.com, private infra | git.az-gruppe.com, AZ servers |
|
||||||
@@ -140,6 +141,7 @@ If you bring a work NixOS machine into your fleet, you can use the same `m3ta-ho
|
|||||||
```
|
```
|
||||||
|
|
||||||
This gives you:
|
This gives you:
|
||||||
|
|
||||||
- Your familiar shell setup (fish, starship, nushell)
|
- Your familiar shell setup (fish, starship, nushell)
|
||||||
- Your CLI tools (fzf, bat, eza, zoxide, etc.)
|
- Your CLI tools (fzf, bat, eza, zoxide, etc.)
|
||||||
- Your editor configs (neovim, zed)
|
- Your editor configs (neovim, zed)
|
||||||
@@ -238,7 +240,7 @@ source = "${config."m3ta-home".paths.srcRoot}/assets/wallpapers";
|
|||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
| Input | Purpose |
|
| Input | Purpose |
|
||||||
|-------|---------|
|
| -------------- | --------------------------------------------------------------- |
|
||||||
| `nixpkgs` | Package set (follows nixos-config's nixpkgs) |
|
| `nixpkgs` | Package set (follows nixos-config's nixpkgs) |
|
||||||
| `home-manager` | Home-Manager modules |
|
| `home-manager` | Home-Manager modules |
|
||||||
| `nix-colors` | Dracula theme palette (used everywhere) |
|
| `nix-colors` | Dracula theme palette (used everywhere) |
|
||||||
|
|||||||
@@ -100,8 +100,6 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
appimage-run
|
appimage-run
|
||||||
bemoji
|
bemoji
|
||||||
brave
|
|
||||||
distrobox
|
|
||||||
eigent
|
eigent
|
||||||
(element-desktop.override {
|
(element-desktop.override {
|
||||||
commandLineArgs = "--password-store=gnome-libsecret";
|
commandLineArgs = "--password-store=gnome-libsecret";
|
||||||
@@ -112,12 +110,10 @@
|
|||||||
seahorse
|
seahorse
|
||||||
sushi
|
sushi
|
||||||
ksnip
|
ksnip
|
||||||
msty-studio
|
|
||||||
nwg-look
|
nwg-look
|
||||||
rose-pine-hyprcursor
|
rose-pine-hyprcursor
|
||||||
remmina
|
remmina
|
||||||
slack
|
slack
|
||||||
telegram-desktop
|
|
||||||
vivaldi
|
vivaldi
|
||||||
vivaldi-ffmpeg-codecs
|
vivaldi-ffmpeg-codecs
|
||||||
vibetyper
|
vibetyper
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.bruno
|
pkgs.bruno
|
||||||
pkgs.insomnia
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
plexamp
|
plexamp
|
||||||
unimatrix
|
|
||||||
webcord
|
webcord
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
signing.format = null;
|
signing.format = null;
|
||||||
settings = {
|
settings = {
|
||||||
user = {
|
user = {
|
||||||
name = "m3tm3re";
|
name = "m3tam3re";
|
||||||
email = "p@m3ta.dev";
|
email = "p@m3ta.dev";
|
||||||
};
|
};
|
||||||
core.excludesfile = "~/.gitignore_global";
|
core.excludesfile = "~/.gitignore_global";
|
||||||
|
|||||||
Reference in New Issue
Block a user