Compare commits
76
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b01084482f | ||
|
|
66b1dc72f5 | ||
|
|
0db970c161 | ||
|
|
516f9d74e0 | ||
|
|
7926491466 | ||
|
|
a9cf13abd4 | ||
|
|
4dec87ebc7 | ||
|
|
53de70bf4f | ||
|
|
206ee46d4f | ||
|
|
4ac8d6fb9a | ||
|
|
a22ff06004 | ||
|
|
acbf02c3e1 | ||
|
|
128391afb2 | ||
|
|
92244b5f02 | ||
|
|
7b3ef4a2c3 | ||
|
|
2aac223e77 | ||
|
|
5e26e13aa7 | ||
|
|
017bf5002e | ||
|
|
c85600a3b0 | ||
|
|
32fdaddf7c | ||
|
|
99753e18df | ||
|
|
10876be5e6 | ||
|
|
93cecb1a53 | ||
|
|
192b5df938 | ||
|
|
47fbdaaa37 | ||
|
|
ed976b0e9e | ||
|
|
671ad7bb8f | ||
|
|
013f031a56 | ||
|
|
9f44404d94 | ||
|
|
2f4c5c8cba | ||
|
|
7febc62f50 | ||
|
|
6c9d082e41 | ||
|
|
a42c196840 | ||
|
|
9cd60383f8 | ||
|
|
6be0ad4ea0 | ||
|
|
0ae4996d97 | ||
|
|
aa249c1f31 | ||
|
|
413a7d123e | ||
|
|
57c467ef11 | ||
|
|
fbcf8f65e6 | ||
|
|
ef78590a6a | ||
|
|
39cc27fd72 | ||
|
|
fe88684d9d | ||
|
|
4b4221da30 | ||
|
|
9be26d79cc | ||
|
|
2821f4b6f4 | ||
|
|
d1494476b8 | ||
|
|
eea29e9877 | ||
|
|
2ab870db8c | ||
|
|
66127c05ea | ||
|
|
4a9d24fe08 | ||
|
|
1265dea16a | ||
|
|
222c1becf4 | ||
|
|
365b6016f1 | ||
|
|
9566724015 | ||
|
|
cd80ded6c0 | ||
|
|
4fe9f3e306 | ||
|
|
d26a40f4ee | ||
|
|
74566375f9 | ||
|
|
add002e05c | ||
|
|
5c92a9f1c6 | ||
|
|
b67922ca60 | ||
|
|
19dea8277e | ||
|
|
8bbfc64b84 | ||
|
|
f5e2b50082 | ||
|
|
6286921cd1 | ||
|
|
a053c9a50e | ||
|
|
7f80fd8a75 | ||
|
|
4e1b39f443 | ||
|
|
b2ca12f86c | ||
|
|
6c6164043b | ||
|
|
e02a0a29ea | ||
|
|
831698b766 | ||
|
|
336a174a17 | ||
|
|
70562ceef2 | ||
|
|
ef5b67c3e9 |
@@ -177,6 +177,7 @@ base.secrets.enable # pass-wayland, pinentry
|
|||||||
desktop.wm.hyprland.enable # Hyprland window manager
|
desktop.wm.hyprland.enable # Hyprland window manager
|
||||||
desktop.wm.rofi.enable # Rofi launcher
|
desktop.wm.rofi.enable # Rofi launcher
|
||||||
desktop.wm.wayland.enable # Wayland tools (grim, slurp, etc.)
|
desktop.wm.wayland.enable # Wayland tools (grim, slurp, etc.)
|
||||||
|
desktop.wm.dms.enable # DankMaterialShell desktop shell
|
||||||
desktop.apps.obsidian.enable # Obsidian
|
desktop.apps.obsidian.enable # Obsidian
|
||||||
desktop.apps.office.enable # LibreOffice
|
desktop.apps.office.enable # LibreOffice
|
||||||
desktop.apps.crypto.enable # Bisq2, Monero, Trezor
|
desktop.apps.crypto.enable # Bisq2, Monero, Trezor
|
||||||
@@ -245,6 +246,8 @@ source = "${config."m3ta-home".paths.srcRoot}/assets/wallpapers";
|
|||||||
| `home-manager` | Home-Manager modules |
|
| `home-manager` | Home-Manager modules |
|
||||||
| `nix-colors` | Dracula theme palette (used everywhere) |
|
| `nix-colors` | Dracula theme palette (used everywhere) |
|
||||||
| `m3ta-nixpkgs` | Custom packages (zellij-ps, rofi-project-opener) and HM modules |
|
| `m3ta-nixpkgs` | Custom packages (zellij-ps, rofi-project-opener) and HM modules |
|
||||||
|
| `dms` | DankMaterialShell Home-Manager module and package |
|
||||||
|
| `dms-plugin-registry` | DankMaterialShell plugin sources |
|
||||||
| `agenix` | Secret management |
|
| `agenix` | Secret management |
|
||||||
| `NUR` | Additional packages |
|
| `NUR` | Additional packages |
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 3.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 MiB |
Generated
+394
-36
@@ -21,14 +21,52 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"agent-lib": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781348569,
|
||||||
|
"narHash": "sha256-1BJtmKSqtD0CD753ZE37RgxvCJK6Iw3iKLDDaS8trY4=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "75a2ed2533b4d6d8e4a34acd37e83d98d81a5fb0",
|
||||||
|
"revCount": 30,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"
|
||||||
|
}
|
||||||
|
},
|
||||||
"agents": {
|
"agents": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783016143,
|
||||||
|
"narHash": "sha256-3qejDAo4g2XfzTyWCaX8RVKH17JXnw/fujsbXQA+Mzc=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "83284d752d2ac325d4bf3ab7b38acad1c2fffe3a",
|
||||||
|
"revCount": 98,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"agents_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777399938,
|
"lastModified": 1783016143,
|
||||||
"narHash": "sha256-xXPqUQezDdDtF8MbpZnwD1HkybOYwF92evx8rJ6OXCU=",
|
"narHash": "sha256-3qejDAo4g2XfzTyWCaX8RVKH17JXnw/fujsbXQA+Mzc=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "9a91f1ee0cf011a7eaf1f16a9e17610b0457e055",
|
"rev": "83284d752d2ac325d4bf3ab7b38acad1c2fffe3a",
|
||||||
"revCount": 85,
|
"revCount": 98,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
},
|
},
|
||||||
@@ -61,16 +99,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774505501,
|
"lastModified": 1785348116,
|
||||||
"narHash": "sha256-7UiRrDptj7yuEFwToOfdunUMz/i3jRLR7CmMoYQjq6k=",
|
"narHash": "sha256-AVycTcomtfvQJ/AHvMg5xu7lVoOzDXxjN+pV7mqUIQ4=",
|
||||||
"owner": "basecamp",
|
"owner": "basecamp",
|
||||||
"repo": "basecamp-cli",
|
"repo": "basecamp-cli",
|
||||||
"rev": "f087e6ef84002503d0dbc75ea1c8c928a8928d9e",
|
"rev": "e1059fb123a03295ce6176272e4bbaf43d7971c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "basecamp",
|
"owner": "basecamp",
|
||||||
"ref": "v0.7.2",
|
"ref": "v0.8.0-rc.1",
|
||||||
"repo": "basecamp-cli",
|
"repo": "basecamp-cli",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -97,7 +135,86 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dms": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785111455,
|
||||||
|
"narHash": "sha256-aTNuC9NDBnYAeEtFsleeUwmGX3AZlKOutbl+LQRPkmQ=",
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"repo": "DankMaterialShell",
|
||||||
|
"rev": "069ddab041c738236a8910e4c39b65d9628d3018",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"ref": "stable",
|
||||||
|
"repo": "DankMaterialShell",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dms-plugin-registry": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785375021,
|
||||||
|
"narHash": "sha256-SV24PP3ctDSAuQjg0LdYAvzN7GEustIrtZfciiSrgRI=",
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"repo": "dms-plugin-registry",
|
||||||
|
"rev": "672e213a1e20b980708d81bd82df9bf85c15a590",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"repo": "dms-plugin-registry",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767039857,
|
||||||
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"hermes-agent",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1772408722,
|
||||||
|
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"nur",
|
"nur",
|
||||||
@@ -118,6 +235,32 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hermes-agent": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"npm-lockfile-fix": "npm-lockfile-fix",
|
||||||
|
"pyproject-build-systems": "pyproject-build-systems",
|
||||||
|
"pyproject-nix": "pyproject-nix_2",
|
||||||
|
"uv2nix": "uv2nix_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1782936460,
|
||||||
|
"narHash": "sha256-Wt72AQtA6Eizi7Ubj23JBhwZ7GKYcjY4mcV6upqHOaU=",
|
||||||
|
"owner": "NousResearch",
|
||||||
|
"repo": "hermes-agent",
|
||||||
|
"rev": "7c1a029553d87c43ecff8a3821336bc95872213b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NousResearch",
|
||||||
|
"ref": "v2026.7.1",
|
||||||
|
"repo": "hermes-agent",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -146,11 +289,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778503501,
|
"lastModified": 1785306346,
|
||||||
"narHash": "sha256-08L/X4/do7nET4rzidJ76eV/1r+mB7DchVpdPypsghc=",
|
"narHash": "sha256-DScBkW0fOgpGPK2trNoX3ryLTlaC14+gglFo/BhGJ4g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "85ba629c79449badf4338117c27f0ee92b4b9f1a",
|
"rev": "e705714e918c3b11affcdd15db2cbe3a070420a0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -161,20 +304,21 @@
|
|||||||
},
|
},
|
||||||
"m3ta-nixpkgs": {
|
"m3ta-nixpkgs": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agents": "agents",
|
"agents": "agents_2",
|
||||||
"basecamp": "basecamp",
|
"basecamp": "basecamp",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
|
"opencode": "opencode",
|
||||||
"openspec": "openspec"
|
"openspec": "openspec"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778508052,
|
"lastModified": 1785670526,
|
||||||
"narHash": "sha256-kxzZvJv757TGfHReR21aX6N/jkGMWzGSy9GQEclYD4Y=",
|
"narHash": "sha256-tC1CW+Kxh9ZZxJC0y472i0KoieMqNwNi+AiCmS4n7To=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "8113723a48c4afa016881ccd5bc4be3fad2c7d5f",
|
"rev": "69fce234a8607cd3e71233831564b8ceeba70626",
|
||||||
"revCount": 294,
|
"revCount": 374,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
},
|
},
|
||||||
@@ -235,11 +379,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778507606,
|
"lastModified": 1785386845,
|
||||||
"narHash": "sha256-6Yc2dIhijc8G+dbMNocyclxF19dUrjaT+EeXGrXmXlg=",
|
"narHash": "sha256-CvXXTgWxbwTn6Diev4nLTP5+8tsFtth/SQAtaR9iVY0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "39a7b8d815fcc8b689d56fc4a3fa8de4ef93d169",
|
"rev": "3c5a718ce27c9283364d4c664fac4e4a23acdfb4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -251,27 +395,59 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777954456,
|
"lastModified": 1772479524,
|
||||||
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
"narHash": "sha256-u7nCaNiMjqvKpE+uZz9hE7pgXXTmm5yvdtFaqzSzUQI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
"rev": "4215e62dc2cd3bc705b0a423b9719ff6be378a43",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixpkgs-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777954456,
|
"lastModified": 1776683584,
|
||||||
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
"narHash": "sha256-NuTLMrr10Tng72hurYG8jYQ4XKK8wnpJmOGcPiis96g=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "9dd5558b06dbdacbf635a3dd36dce1b1a7ee3a89",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785318670,
|
||||||
|
"narHash": "sha256-dN6Ou5x/+23FZLEpYP3IffO+NyJFzUlGumt1uu3MMaY=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "0954f7ee2f6bb3dc7d4e3d0d8bcb8fd4bde4cfc5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_5": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785318670,
|
||||||
|
"narHash": "sha256-dN6Ou5x/+23FZLEpYP3IffO+NyJFzUlGumt1uu3MMaY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
"rev": "0954f7ee2f6bb3dc7d4e3d0d8bcb8fd4bde4cfc5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -281,17 +457,38 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nur": {
|
"npm-lockfile-fix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"nixpkgs": [
|
||||||
"nixpkgs": "nixpkgs_3"
|
"hermes-agent",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778506944,
|
"lastModified": 1775903712,
|
||||||
"narHash": "sha256-lU0Bleh0reE+WU7j8Uiqsu6ekPav50L8sXsgOvEQS+0=",
|
"narHash": "sha256-2GV79U6iVH4gKAPWYrxUReB0S41ty/Y3dBLquU8AlaA=",
|
||||||
|
"owner": "jeslie0",
|
||||||
|
"repo": "npm-lockfile-fix",
|
||||||
|
"rev": "c6093acb0c0548e0f9b8b3d82918823721930fe8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "jeslie0",
|
||||||
|
"repo": "npm-lockfile-fix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"nixpkgs": "nixpkgs_5"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785395064,
|
||||||
|
"narHash": "sha256-ZZoXKpTETeIU93xQOxleE27JWT1FcpF9pe1nSPrFbuw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "0166493cfe4e0e9927435c1cfbf5505cfb0d10d1",
|
"rev": "cce2408845d0298ae0dcc42582c1d8b390de105c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -300,6 +497,25 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"opencode": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785386452,
|
||||||
|
"narHash": "sha256-iYfkMmn1ZKbi0cv8XIAXVgPH4idzsVSK4cWyi/KGMJQ=",
|
||||||
|
"owner": "anomalyco",
|
||||||
|
"repo": "opencode",
|
||||||
|
"rev": "f7204902192624481e526b1852cdedaadb914e24",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "anomalyco",
|
||||||
|
"ref": "dev",
|
||||||
|
"repo": "opencode",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"openspec": {
|
"openspec": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -308,11 +524,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778120451,
|
"lastModified": 1785371113,
|
||||||
"narHash": "sha256-MUSPD16+hoFBfQWYahtNLN2BIFEAlFFo2KNofrc947g=",
|
"narHash": "sha256-r3fwnb5gMTV9UXBj7bqkKpTZIWwF4AgghULOIv2Fr4c=",
|
||||||
"owner": "Fission-AI",
|
"owner": "Fission-AI",
|
||||||
"repo": "OpenSpec",
|
"repo": "OpenSpec",
|
||||||
"rev": "053d8a59d587f3c027a06ad80503a6b43d4f2a92",
|
"rev": "2b3d368539132be6311e55db58899abbf5306b81",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -321,13 +537,106 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pyproject-build-systems": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"pyproject-nix": "pyproject-nix",
|
||||||
|
"uv2nix": "uv2nix"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1772555609,
|
||||||
|
"narHash": "sha256-3BA3HnUvJSbHJAlJj6XSy0Jmu7RyP2gyB/0fL7XuEDo=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "build-system-pkgs",
|
||||||
|
"rev": "c37f66a953535c394244888598947679af231863",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "build-system-pkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pyproject-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"pyproject-build-systems",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769936401,
|
||||||
|
"narHash": "sha256-kwCOegKLZJM9v/e/7cqwg1p/YjjTAukKPqmxKnAZRgA=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"rev": "b0d513eeeebed6d45b4f2e874f9afba2021f7812",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pyproject-nix_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1772865871,
|
||||||
|
"narHash": "sha256-/ZTSg97aouL0SlPHaokA4r3iuH9QzHVuWPACD2CUCFY=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"rev": "e537db02e72d553cea470976b9733581bcf5b3ed",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pyproject-nix_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"uv2nix",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771518446,
|
||||||
|
"narHash": "sha256-nFJSfD89vWTu92KyuJWDoTQJuoDuddkJV3TlOl1cOic=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"rev": "eb204c6b3335698dec6c7fc1da0ebc3c6df05937",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
"agent-lib": "agent-lib",
|
||||||
|
"agents": "agents",
|
||||||
|
"dms": "dms",
|
||||||
|
"dms-plugin-registry": "dms-plugin-registry",
|
||||||
|
"hermes-agent": "hermes-agent",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"m3ta-nixpkgs": "m3ta-nixpkgs",
|
"m3ta-nixpkgs": "m3ta-nixpkgs",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nur": "nur"
|
"nur": "nur"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -345,6 +654,55 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"uv2nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"pyproject-build-systems",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"pyproject-nix": [
|
||||||
|
"hermes-agent",
|
||||||
|
"pyproject-build-systems",
|
||||||
|
"pyproject-nix"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1770770348,
|
||||||
|
"narHash": "sha256-A2GzkmzdYvdgmMEu5yxW+xhossP+txrYb7RuzRaqhlg=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "uv2nix",
|
||||||
|
"rev": "5d1b2cb4fe3158043fbafbbe2e46238abbc954b0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "uv2nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"uv2nix_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hermes-agent",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"pyproject-nix": "pyproject-nix_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1773039484,
|
||||||
|
"narHash": "sha256-+boo33KYkJDw9KItpeEXXv8+65f7hHv/earxpcyzQ0I=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "uv2nix",
|
||||||
|
"rev": "b68be7cfeacbed9a3fa38a2b5adc0cfb81d9bb1f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "uv2nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -16,26 +16,52 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
agents = {
|
||||||
|
# url = "path:/home/m3tam3re/p/AI/AGENTS";
|
||||||
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS";
|
||||||
|
};
|
||||||
|
|
||||||
|
agent-lib = {
|
||||||
|
# url = "path:/home/m3tam3re/p/NIX/agent-lib";
|
||||||
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib-legacy";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
hermes-agent = {
|
||||||
|
url = "github:NousResearch/hermes-agent/v2026.7.1";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
dms = {
|
||||||
|
url = "github:AvengeMedia/DankMaterialShell/stable";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
dms-plugin-registry = {
|
||||||
|
url = "github:AvengeMedia/dms-plugin-registry";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
agenix.url = "github:ryantm/agenix";
|
agenix.url = "github:ryantm/agenix";
|
||||||
|
|
||||||
nur.url = "github:nix-community/NUR";
|
nur.url = "github:nix-community/NUR";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {self, ...} @ inputs: {
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
...
|
|
||||||
} @ inputs: let
|
|
||||||
lib = nixpkgs.lib;
|
|
||||||
in {
|
|
||||||
# Home-Manager modules — import in nixos-config via:
|
# Home-Manager modules — import in nixos-config via:
|
||||||
# imports = [ inputs.m3ta-home.homeManagerModules.default ];
|
# imports = [ inputs.m3ta-home.homeManagerModules.default ];
|
||||||
homeManagerModules = import ./modules { inherit inputs; selfPath = self.outPath; };
|
homeManagerModules = import ./modules {
|
||||||
|
inherit inputs;
|
||||||
|
selfPath = self.outPath;
|
||||||
|
};
|
||||||
|
|
||||||
# Library functions — use in nixos-config via:
|
# Library functions — use in nixos-config via:
|
||||||
# m3ta-lib = inputs.m3ta-home.lib;
|
# m3ta-lib = inputs.m3ta-home.lib;
|
||||||
# imports = [ (m3ta-lib.mkHome { ... }) ];
|
# imports = [ (m3ta-lib.mkHome { ... }) ];
|
||||||
lib = import ./lib {inherit inputs; selfPath = self.outPath;};
|
lib = import ./lib {
|
||||||
|
inherit inputs;
|
||||||
|
selfPath = self.outPath;
|
||||||
|
};
|
||||||
|
|
||||||
# Overlays (re-exports from m3ta-nixpkgs)
|
# Overlays (re-exports from m3ta-nixpkgs)
|
||||||
overlays = inputs.m3ta-nixpkgs.overlays;
|
overlays = inputs.m3ta-nixpkgs.overlays;
|
||||||
|
|||||||
+13
-2
@@ -1,5 +1,16 @@
|
|||||||
# lib/default.nix — Entry point for m3ta-home library functions.
|
# lib/default.nix — Entry point for m3ta-home library functions.
|
||||||
#
|
#
|
||||||
# Called by flake.nix: import ./lib { inherit inputs; selfPath = self.outPath; }
|
# Called by flake.nix: import ./lib { inherit inputs; selfPath = self.outPath; }
|
||||||
# Re-exports mkHome and future library functions.
|
# Re-exports mkHome and focused helpers for consumers that should not depend on
|
||||||
{inputs, selfPath}: import ./mkHome.nix {inherit inputs selfPath;}
|
# m3ta-home's implementation inputs directly.
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
selfPath,
|
||||||
|
}: let
|
||||||
|
mkHomeLib = import ./mkHome.nix {inherit inputs selfPath;};
|
||||||
|
in
|
||||||
|
mkHomeLib
|
||||||
|
// {
|
||||||
|
mkHermesSkillsDir = {system, ...} @ args:
|
||||||
|
inputs.agent-lib.lib.${system}.mkHermesSkillsDir (builtins.removeAttrs args ["system"]);
|
||||||
|
}
|
||||||
|
|||||||
+13
-1
@@ -19,7 +19,10 @@
|
|||||||
# m3ta.home.sets.coding.languages.python.extra = true;
|
# m3ta.home.sets.coding.languages.python.extra = true;
|
||||||
# wayland.windowManager.hyprland.settings.monitor = [ ... ];
|
# wayland.windowManager.hyprland.settings.monitor = [ ... ];
|
||||||
#
|
#
|
||||||
{inputs, selfPath}: let
|
{
|
||||||
|
inputs,
|
||||||
|
selfPath,
|
||||||
|
}: let
|
||||||
lib = inputs.nixpkgs.lib;
|
lib = inputs.nixpkgs.lib;
|
||||||
in {
|
in {
|
||||||
mkHome = {
|
mkHome = {
|
||||||
@@ -80,6 +83,13 @@ in {
|
|||||||
in {
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
# External Home Manager modules required by selectable profiles
|
||||||
|
inputs.agent-lib.homeManagerModules.default
|
||||||
|
inputs.dms.homeModules.default
|
||||||
|
inputs.dms-plugin-registry.homeModules.default
|
||||||
|
inputs.nix-colors.homeManagerModules.default
|
||||||
|
inputs.m3ta-nixpkgs.homeManagerModules.default
|
||||||
|
|
||||||
# Paths module — must be first, provides m3taHome.paths.srcRoot
|
# Paths module — must be first, provides m3taHome.paths.srcRoot
|
||||||
../modules/paths.nix
|
../modules/paths.nix
|
||||||
baseModule
|
baseModule
|
||||||
@@ -89,6 +99,8 @@ in {
|
|||||||
++ contextImport
|
++ contextImport
|
||||||
++ setImports;
|
++ setImports;
|
||||||
|
|
||||||
|
_module.args.m3taHomeInputs = inputs;
|
||||||
|
|
||||||
# Set the flake source root for asset path resolution
|
# Set the flake source root for asset path resolution
|
||||||
"m3ta-home".paths.srcRoot = selfPath;
|
"m3ta-home".paths.srcRoot = selfPath;
|
||||||
|
|
||||||
|
|||||||
+9
-3
@@ -8,11 +8,15 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
selfPath,
|
selfPath,
|
||||||
}: let
|
}: {
|
||||||
lib = inputs.nixpkgs.lib;
|
|
||||||
in {
|
|
||||||
default = {
|
default = {
|
||||||
imports = [
|
imports = [
|
||||||
|
# External modules
|
||||||
|
inputs.agent-lib.homeManagerModules.default
|
||||||
|
inputs.dms.homeModules.default
|
||||||
|
inputs.dms-plugin-registry.homeModules.default
|
||||||
|
inputs.nix-colors.homeManagerModules.default
|
||||||
|
inputs.m3ta-nixpkgs.homeManagerModules.default
|
||||||
# Paths — must be first, provides "m3ta-home".paths.srcRoot
|
# Paths — must be first, provides "m3ta-home".paths.srcRoot
|
||||||
./paths.nix
|
./paths.nix
|
||||||
|
|
||||||
@@ -30,6 +34,8 @@ in {
|
|||||||
./../users/m3tam3re/identities/work.nix
|
./../users/m3tam3re/identities/work.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
_module.args.m3taHomeInputs = inputs;
|
||||||
|
|
||||||
# Set the source root for asset path resolution
|
# Set the source root for asset path resolution
|
||||||
"m3ta-home".paths.srcRoot = selfPath;
|
"m3ta-home".paths.srcRoot = selfPath;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
./packages.nix
|
./packages.nix
|
||||||
./television.nix
|
./television.nix
|
||||||
./zellij.nix
|
./zellij.nix
|
||||||
./zellij-ps.nix
|
|
||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,16 +2,19 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
options,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.base.cliTools.fzf;
|
cfg = config.base.cliTools.fzf;
|
||||||
|
changeDirWidgetCommand = "fd --type d --exclude .git --follow --hidden";
|
||||||
in {
|
in {
|
||||||
# Enabled by default — base modules are always-on.
|
# Enabled by default — base modules are always-on.
|
||||||
options.base.cliTools.fzf.enable = (mkEnableOption "enable fuzzy finder") // {default = true;};
|
options.base.cliTools.fzf.enable = (mkEnableOption "enable fuzzy finder") // {default = true;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.fzf = {
|
programs.fzf =
|
||||||
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
colors = {
|
colors = {
|
||||||
@@ -35,7 +38,11 @@ in {
|
|||||||
"--bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'"
|
"--bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'"
|
||||||
];
|
];
|
||||||
defaultCommand = "fd --type f --exclude .git --follow --hidden";
|
defaultCommand = "fd --type f --exclude .git --follow --hidden";
|
||||||
changeDirWidgetCommand = "fd --type d --exclude .git --follow --hidden";
|
}
|
||||||
};
|
// (
|
||||||
|
if options.programs.fzf ? changeDirWidget
|
||||||
|
then {changeDirWidget.command = changeDirWidgetCommand;}
|
||||||
|
else {inherit changeDirWidgetCommand;}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
# Zellij-ps — project-aware Zellij session manager from m3ta-nixpkgs.
|
|
||||||
# Delegates to `cli.zellij-ps` — the home-manager module namespace provided by
|
|
||||||
# m3ta-nixpkgs. Requires m3ta-nixpkgs overlays to be applied to pkgs
|
|
||||||
# (via home-manager.useGlobalPkgs = true in NixOS, or overlays in standalone).
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.zellijPs;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.zellijPs = {
|
|
||||||
# Enabled by default — base modules are always-on.
|
|
||||||
enable = (mkEnableOption "enable zellij-ps project session manager") // {default = true;};
|
|
||||||
|
|
||||||
projectFolders = mkOption {
|
|
||||||
type = types.listOf types.path;
|
|
||||||
description = "Project root folders scanned by zellij-ps.";
|
|
||||||
default = ["${config.home.homeDirectory}/p"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
cli.zellij-ps = {
|
|
||||||
enable = true;
|
|
||||||
projectFolders = cfg.projectFolders;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
# profiles/base/default.nix — Always loaded on every host.
|
# profiles/base/default.nix — Always loaded on every host.
|
||||||
#
|
#
|
||||||
# Provides:
|
# Provides:
|
||||||
# - nix-colors and m3ta-nixpkgs HM module imports
|
|
||||||
# - Shell (nushell, fish, starship) with enable options
|
# - Shell (nushell, fish, starship) with enable options
|
||||||
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
|
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
|
||||||
# - Secrets management (pass-wayland)
|
# - Secrets management (pass-wayland)
|
||||||
@@ -9,21 +8,19 @@
|
|||||||
# - Base packages
|
# - Base packages
|
||||||
#
|
#
|
||||||
# NOTE: Overlays are NOT set here. The consuming flake (nixos-config) handles
|
# NOTE: Overlays are NOT set here. The consuming flake (nixos-config) handles
|
||||||
# overlays at the NixOS level via nixpkgs.overlays. This module only imports
|
# overlays at the NixOS level via nixpkgs.overlays. External HM modules are
|
||||||
# HM modules and sets user-level preferences.
|
# imported by mkHome/modules/default.nix. This module only imports base profile
|
||||||
|
# submodules and sets user-level preferences.
|
||||||
#
|
#
|
||||||
# When used standalone (not through NixOS), overlays should be set by the
|
# When used standalone (not through NixOS), overlays should be set by the
|
||||||
# standalone HM configuration or by the consuming flake.
|
# standalone HM configuration or by the consuming flake.
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
lib,
|
lib,
|
||||||
|
m3taHomeInputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-colors.homeManagerModules.default
|
|
||||||
inputs.m3ta-nixpkgs.homeManagerModules.default
|
|
||||||
|
|
||||||
./shell
|
./shell
|
||||||
./cli-tools
|
./cli-tools
|
||||||
./secrets
|
./secrets
|
||||||
@@ -44,7 +41,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# ── Color scheme ──
|
# ── Color scheme ──
|
||||||
colorScheme = inputs.nix-colors.colorSchemes.dracula;
|
colorScheme = m3taHomeInputs.nix-colors.colorSchemes.dracula;
|
||||||
|
|
||||||
# ── Base packages ──
|
# ── Base packages ──
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.base.shell.nushell;
|
cfg = config.base.shell.nushell;
|
||||||
|
# User-specific secrets file from agenix, resolved at build time.
|
||||||
|
secretsFile = "/run/agenix/${config.home.username}-secrets";
|
||||||
in {
|
in {
|
||||||
# Enabled by default — base modules are always-on.
|
# Enabled by default — base modules are always-on.
|
||||||
options.base.shell.nushell.enable = (mkEnableOption "enable nushell") // {default = true;};
|
options.base.shell.nushell.enable = (mkEnableOption "enable nushell") // {default = true;};
|
||||||
@@ -41,6 +43,17 @@ in {
|
|||||||
| transpose -r -d
|
| transpose -r -d
|
||||||
| load-env
|
| load-env
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Load user-specific secrets from agenix. The secret file is Nushell code
|
||||||
|
# containing a `load-env { ... }` block, not KEY=VALUE lines.
|
||||||
|
# `source` resolves literal paths at parse time, so use `null` when absent.
|
||||||
|
# Path is resolved at Nix build time via config.home.username.
|
||||||
|
const user_secrets_file = if ("${secretsFile}" | path exists) {
|
||||||
|
"${secretsFile}"
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
}
|
||||||
|
source $user_secrets_file
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configFile.text = ''
|
configFile.text = ''
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Desktop environment aggregator — only loaded when context=desktop.
|
# Desktop environment aggregator — only loaded when context=desktop.
|
||||||
# Includes window manager, applications, theming, and desktop session config.
|
# Includes window manager, applications, theming, and desktop session config.
|
||||||
{
|
{
|
||||||
config,
|
m3taHomeInputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@@ -38,7 +38,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home = {
|
||||||
|
sessionVariables = {
|
||||||
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
|
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
TERMINAL = "ghostty";
|
TERMINAL = "ghostty";
|
||||||
@@ -48,13 +49,47 @@
|
|||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionPath = [
|
sessionPath = [
|
||||||
"\${XDG_BIN_HOME}"
|
"\${XDG_BIN_HOME}"
|
||||||
"\${HOME}/.cargo/bin"
|
"\${HOME}/.cargo/bin"
|
||||||
"$HOME/.npm-global/bin"
|
"$HOME/.npm-global/bin"
|
||||||
"$HOME/.cache/.bun/bin"
|
"$HOME/.cache/.bun/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pointerCursor = {
|
||||||
|
enable = true;
|
||||||
|
gtk.enable = true;
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Ice";
|
||||||
|
size = 20;
|
||||||
|
};
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
appimage-run
|
||||||
|
bemoji
|
||||||
|
google-chrome
|
||||||
|
dconf
|
||||||
|
(element-desktop.override {
|
||||||
|
commandLineArgs = "--password-store=gnome-libsecret";
|
||||||
|
})
|
||||||
|
m3taHomeInputs.hermes-agent.packages.${pkgs.stdenv.hostPlatform.system}.desktop
|
||||||
|
launch-webapp
|
||||||
|
file-roller
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
seahorse
|
||||||
|
sushi
|
||||||
|
ksnip
|
||||||
|
nwg-look
|
||||||
|
qt6Packages.qt6ct
|
||||||
|
rose-pine-hyprcursor
|
||||||
|
remmina
|
||||||
|
slack
|
||||||
|
vivaldi
|
||||||
|
vivaldi-ffmpeg-codecs
|
||||||
|
vibetyper
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
@@ -64,59 +99,30 @@
|
|||||||
settings = {
|
settings = {
|
||||||
font-family = "Fira Code";
|
font-family = "Fira Code";
|
||||||
copy-on-select = "clipboard";
|
copy-on-select = "clipboard";
|
||||||
foreground = "#${config.colorScheme.palette.base05}";
|
theme = "dankcolors";
|
||||||
background = "#${config.colorScheme.palette.base00}";
|
# foreground = "#${config.colorScheme.palette.base05}";
|
||||||
selection-foreground = "#${config.colorScheme.palette.base07}";
|
# background = "#${config.colorScheme.palette.base00}";
|
||||||
selection-background = "#${config.colorScheme.palette.base02}";
|
# selection-foreground = "#${config.colorScheme.palette.base07}";
|
||||||
cursor-color = "#${config.colorScheme.palette.base05}";
|
# selection-background = "#${config.colorScheme.palette.base02}";
|
||||||
palette = [
|
# cursor-color = "#${config.colorScheme.palette.base05}";
|
||||||
"0=#${config.colorScheme.palette.base01}"
|
# palette = [
|
||||||
"1=#${config.colorScheme.palette.base08}"
|
# "0=#${config.colorScheme.palette.base01}"
|
||||||
"2=#${config.colorScheme.palette.base0B}"
|
# "1=#${config.colorScheme.palette.base08}"
|
||||||
"3=#${config.colorScheme.palette.base0A}"
|
# "2=#${config.colorScheme.palette.base0B}"
|
||||||
"4=#${config.colorScheme.palette.base0D}"
|
# "3=#${config.colorScheme.palette.base0A}"
|
||||||
"5=#${config.colorScheme.palette.base0E}"
|
# "4=#${config.colorScheme.palette.base0D}"
|
||||||
"6=#${config.colorScheme.palette.base0C}"
|
# "5=#${config.colorScheme.palette.base0E}"
|
||||||
"7=#${config.colorScheme.palette.base05}"
|
# "6=#${config.colorScheme.palette.base0C}"
|
||||||
"8=#${config.colorScheme.palette.base03}"
|
# "7=#${config.colorScheme.palette.base05}"
|
||||||
"9=#${config.colorScheme.palette.base08}"
|
# "8=#${config.colorScheme.palette.base03}"
|
||||||
"10=#${config.colorScheme.palette.base0B}"
|
# "9=#${config.colorScheme.palette.base08}"
|
||||||
"11=#${config.colorScheme.palette.base0A}"
|
# "10=#${config.colorScheme.palette.base0B}"
|
||||||
"12=#${config.colorScheme.palette.base0D}"
|
# "11=#${config.colorScheme.palette.base0A}"
|
||||||
"13=#${config.colorScheme.palette.base0E}"
|
# "12=#${config.colorScheme.palette.base0D}"
|
||||||
"14=#${config.colorScheme.palette.base0C}"
|
# "13=#${config.colorScheme.palette.base0E}"
|
||||||
"15=#${config.colorScheme.palette.base07}"
|
# "14=#${config.colorScheme.palette.base0C}"
|
||||||
];
|
# "15=#${config.colorScheme.palette.base07}"
|
||||||
|
# ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
|
||||||
gtk.enable = true;
|
|
||||||
package = pkgs.bibata-cursors;
|
|
||||||
name = "Bibata-Modern-Ice";
|
|
||||||
size = 20;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
appimage-run
|
|
||||||
bemoji
|
|
||||||
eigent
|
|
||||||
(element-desktop.override {
|
|
||||||
commandLineArgs = "--password-store=gnome-libsecret";
|
|
||||||
})
|
|
||||||
launch-webapp
|
|
||||||
file-roller
|
|
||||||
hyprpanel
|
|
||||||
hyprpaper-random
|
|
||||||
seahorse
|
|
||||||
sushi
|
|
||||||
ksnip
|
|
||||||
nwg-look
|
|
||||||
rose-pine-hyprcursor
|
|
||||||
remmina
|
|
||||||
slack
|
|
||||||
vivaldi
|
|
||||||
vivaldi-ffmpeg-codecs
|
|
||||||
vibetyper
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# GTK and Qt theming — Dracula theme with matching icons and cursor.
|
# GTK and Qt theming — system-wide dark Adwaita/libadwaita-compatible theme.
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
@@ -6,18 +6,19 @@
|
|||||||
}: {
|
}: {
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "gtk";
|
platformTheme.name = "gtk3";
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
colorScheme = "dark";
|
||||||
theme = {
|
theme = {
|
||||||
name = "Dracula";
|
name = "adw-gtk3-dark";
|
||||||
package = pkgs.dracula-theme;
|
package = pkgs.adw-gtk3;
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
name = "Dracula";
|
name = "Papirus-Dark";
|
||||||
package = pkgs.dracula-icon-theme;
|
package = pkgs.papirus-icon-theme;
|
||||||
};
|
};
|
||||||
gtk4.theme = config.gtk.theme;
|
gtk4.theme = config.gtk.theme;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
|
./dms.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# DankMaterialShell user-session configuration.
|
||||||
|
# External DMS Home-Manager modules are imported by mkHome/modules/default.nix
|
||||||
|
# so this file only owns the m3ta-home feature flag and desired defaults.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.desktop.wm.dms;
|
||||||
|
in {
|
||||||
|
options.desktop.wm.dms.enable = mkEnableOption "DankMaterialShell desktop shell";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.dank-material-shell = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
enableDynamicTheming = true;
|
||||||
|
enableClipboardPaste = true;
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
dankBatteryAlerts.enable = true;
|
||||||
|
emojiLauncher.enable = true;
|
||||||
|
dankPomodoroTimer.enable = true;
|
||||||
|
dankVault.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -6,60 +6,107 @@
|
|||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.desktop.wm.hyprland;
|
cfg = config.desktop.wm.hyprland;
|
||||||
|
lua = lib.generators.mkLuaInline;
|
||||||
|
luaString = builtins.toJSON;
|
||||||
|
|
||||||
|
mkEnvVar = name: value: {
|
||||||
|
_args = [
|
||||||
|
name
|
||||||
|
value
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
modKey = key: lua ''mainMod .. " + ${key}"'';
|
||||||
|
mkDispatcher = expression: lua expression;
|
||||||
|
execCmd = command: "hl.dsp.exec_cmd(${luaString command})";
|
||||||
|
execExpr = expression: "hl.dsp.exec_cmd(${expression})";
|
||||||
|
|
||||||
|
mkBinding = keys: dispatcher: {
|
||||||
|
_args = [
|
||||||
|
keys
|
||||||
|
(mkDispatcher dispatcher)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
mkBindingWithOptions = keys: dispatcher: options: {
|
||||||
|
_args = [
|
||||||
|
keys
|
||||||
|
(mkDispatcher dispatcher)
|
||||||
|
options
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
startupCommand = command: {
|
||||||
|
_args = [
|
||||||
|
"hyprland.start"
|
||||||
|
(lua ''
|
||||||
|
function()
|
||||||
|
hl.exec_cmd(${luaString command})
|
||||||
|
end
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
focusWorkspace = workspace: "hl.dsp.focus({ workspace = ${luaString workspace} })";
|
||||||
|
moveToWorkspace = workspace: "hl.dsp.window.move({ workspace = ${luaString workspace} })";
|
||||||
in {
|
in {
|
||||||
options.desktop.wm.hyprland.enable = mkEnableOption "Hyprland window manager";
|
options.desktop.wm.hyprland.enable = mkEnableOption "Hyprland window manager";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
configType = "lua";
|
||||||
|
extraLuaFiles."00-dms" = {
|
||||||
|
autoLoad = true;
|
||||||
|
content = ''
|
||||||
|
-- DMS setup/runtime owns these modules. Load only the Lua equivalents
|
||||||
|
-- of the pre-migration active sources, before local Home Manager
|
||||||
|
-- settings, preserving the old source-first order without enabling new
|
||||||
|
-- DMS default binds or rules.
|
||||||
|
--
|
||||||
|
-- Keep fresh Home Manager generations usable before DMS has written
|
||||||
|
-- ~/.config/hypr/dms/*.lua.
|
||||||
|
local function require_if_present(module)
|
||||||
|
if package.searchpath(module, package.path) ~= nil then
|
||||||
|
require(module)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
require_if_present("dms.colors")
|
||||||
|
require_if_present("dms.layout")
|
||||||
|
require_if_present("dms.outputs")
|
||||||
|
'';
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
mainMod = {
|
||||||
|
_var = "SUPER";
|
||||||
|
};
|
||||||
|
terminal = {
|
||||||
|
_var = "ghostty";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
xwayland = {
|
xwayland = {
|
||||||
force_zero_scaling = true;
|
force_zero_scaling = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
exec-once = [
|
|
||||||
"hyprpanel"
|
|
||||||
"while ! hyprpaper-random; do sleep 0.5; done"
|
|
||||||
"wl-paste --type text --watch cliphist store"
|
|
||||||
"wl-paste --type image --watch cliphist store"
|
|
||||||
"vibetyper"
|
|
||||||
];
|
|
||||||
|
|
||||||
env = [
|
|
||||||
"XCURSOR_SIZE,32"
|
|
||||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
|
||||||
"WLR_NO_HARDWARE_CURSORS,1"
|
|
||||||
"GTK_THEME,Dracula"
|
|
||||||
"XDG_CURRENT_DESKTOP,Hyprland"
|
|
||||||
"XDG_SESSION_TYPE,wayland"
|
|
||||||
"XDG_SESSION_DESKTOP,Hyprland"
|
|
||||||
"XKB_DEFAULT_LAYOUT,de"
|
|
||||||
"NIXOS_OZONE_WL,1"
|
|
||||||
];
|
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "de,us";
|
kb_layout = "us";
|
||||||
kb_variant = "";
|
kb_variant = "";
|
||||||
kb_model = "";
|
kb_model = "";
|
||||||
kb_rules = "";
|
kb_rules = "";
|
||||||
kb_options = "ctrl:nocaps";
|
kb_options = "ctrl:nocaps";
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
"col.active_border" = "rgba(9742b5ee) rgba(9742b5ee) 45deg";
|
|
||||||
"col.inactive_border" = "rgba(${config.colorScheme.palette.base03}aa)";
|
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
shadow = {
|
shadow = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
range = 60;
|
range = 60;
|
||||||
render_power = 3;
|
render_power = 3;
|
||||||
color = "rgba(${config.colorScheme.palette.base00}66)";
|
# color = "rgba(${config.colorScheme.palette.base00}66)";
|
||||||
offset = "1 2";
|
offset = "1 2";
|
||||||
scale = 0.97;
|
scale = 0.97;
|
||||||
};
|
};
|
||||||
@@ -72,247 +119,470 @@ in {
|
|||||||
active_opacity = 0.9;
|
active_opacity = 0.9;
|
||||||
inactive_opacity = 0.5;
|
inactive_opacity = 0.5;
|
||||||
};
|
};
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
|
||||||
animation = [
|
|
||||||
"windows, 1, 7, myBezier"
|
|
||||||
"windowsOut, 1, 7, default, popin 80%"
|
|
||||||
"border, 1, 10, default"
|
|
||||||
"borderangle, 1, 8, default"
|
|
||||||
"fade, 1, 7, default"
|
|
||||||
"workspaces, 1, 6, default"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dwindle = {
|
dwindle = {
|
||||||
pseudotile = true;
|
# pseudotile = true; # TODO
|
||||||
preserve_split = true;
|
preserve_split = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
master = {
|
master = {
|
||||||
new_status = "master";
|
new_status = "master";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
on = [
|
||||||
|
(startupCommand "vibetyper")
|
||||||
|
];
|
||||||
|
|
||||||
|
"env" = [
|
||||||
|
(mkEnvVar "XCURSOR_SIZE" "32")
|
||||||
|
(mkEnvVar "HYPRCURSOR_THEME" "Bibata-Modern-Ice")
|
||||||
|
(mkEnvVar "WLR_NO_HARDWARE_CURSORS" "1")
|
||||||
|
(mkEnvVar "XDG_CURRENT_DESKTOP" "Hyprland")
|
||||||
|
(mkEnvVar "XDG_SESSION_TYPE" "wayland")
|
||||||
|
(mkEnvVar "XDG_SESSION_DESKTOP" "Hyprland")
|
||||||
|
(mkEnvVar "XKB_DEFAULT_LAYOUT" "de")
|
||||||
|
(mkEnvVar "NIXOS_OZONE_WL" "1")
|
||||||
|
(mkEnvVar "QT_QPA_PLATFORM" "wayland;xcb")
|
||||||
|
(mkEnvVar "QT_QPA_PLATFORMTHEME" "gtk3")
|
||||||
|
(mkEnvVar "QT_QPA_PLATFORMTHEME_QT6" "gtk3")
|
||||||
|
];
|
||||||
|
|
||||||
device = [
|
device = [
|
||||||
|
# Alle normalen Keyboards explizit auf de setzen:
|
||||||
{
|
{
|
||||||
name = "epic-mouse-v1";
|
name = "video-bus";
|
||||||
sensitivity = -0.5;
|
kb_layout = "de,us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "zsa-technology-labs-moonlander-mark-i";
|
name = "razer-razer-pro-click-v2-vertical-edition-keyboard";
|
||||||
kb_layout = "us";
|
kb_layout = "de,us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "razer-razer-pro-click-v2-vertical-edition-1";
|
||||||
|
kb_layout = "de,us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vibe-typer-virtual-keyboard";
|
||||||
|
kb_layout = "de";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "keychron-keychron-k7";
|
name = "keychron-keychron-k7";
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
];
|
# Moonlander Sub-Devices bleiben us (erben global)
|
||||||
|
|
||||||
windowrule = [
|
|
||||||
"match:class file_progress, float on"
|
|
||||||
"match:class confirm, float on"
|
|
||||||
"match:class dialog, float on"
|
|
||||||
"match:class download, float on"
|
|
||||||
"match:class notification, float on"
|
|
||||||
"match:class error, float on"
|
|
||||||
"match:class splash, float on"
|
|
||||||
"match:class confirmreset, float on"
|
|
||||||
"match:title Open File, float on"
|
|
||||||
"match:title branchdialog, float on"
|
|
||||||
"match:class pavucontrol-qt, float on"
|
|
||||||
"match:class pavucontrol, float on"
|
|
||||||
"match:class class:^(espanso)$, float on"
|
|
||||||
"match:class wlogout, fullscreen on"
|
|
||||||
"match:title wlogout, float on"
|
|
||||||
"match:title wlogout, fullscreen on"
|
|
||||||
"match:class mpv, float on"
|
|
||||||
"match:class mpv, idle_inhibit focus"
|
|
||||||
"match:class mpv, opacity 1.0 override"
|
|
||||||
"match:title ^(Media viewer)$, float on"
|
|
||||||
"match:title ^(Volume Control)$, float on"
|
|
||||||
"match:title ^(Picture-in-Picture)$, float on"
|
|
||||||
"match:title ^(floating-pomodoro)$, float on"
|
|
||||||
"match:title ^(floating-pomodoro)$, size 250 50"
|
|
||||||
"match:title ^(floating-pomodoro)$, move 12 (monitor_h-150)"
|
|
||||||
"match:title ^(floating-pomodoro)$, pin on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, float on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, pin on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, size 800 400"
|
|
||||||
"match:initial_title .*alert-box.*, move 100%-820 102"
|
|
||||||
"match:initial_title .*chat-box.*, move 100%-820 512"
|
|
||||||
"match:initial_title .*streamlabs.com.*, opacity 0.5 override"
|
|
||||||
"match:initial_title .*streamlabs.com.*, idle_inhibit focus"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_anim on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, decorate off"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_shadow on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_blur on"
|
|
||||||
"match:class ^vibe-typer$, match:title ^Recording Indicator$, no_blur on"
|
|
||||||
"border_color rgb(ffffff), match:xwayland 1"
|
|
||||||
];
|
|
||||||
|
|
||||||
"$mainMod" = "SUPER";
|
|
||||||
"$terminal" = "ghostty";
|
|
||||||
|
|
||||||
bind = [
|
|
||||||
"$mainMod, return, exec, $terminal nu -c zellij-ps"
|
|
||||||
"$mainMod, t, exec, $terminal -e nu -c 'nitch; exec nu'"
|
|
||||||
"$mainMod SHIFT, t, exec, launch-timer"
|
|
||||||
"$mainMod, n, exec, $terminal -e nvim"
|
|
||||||
"$mainMod, z, exec, uwsm app -- zeditor"
|
|
||||||
"$mainMod, o, exec, hyprctl dispatch setprop activewindow opaque toggle"
|
|
||||||
"$mainMod, r, exec, hyprctl dispatch focuswindow \"initialtitle:.*alert-box.*\" && hyprctl dispatch moveactive exact 4300 102 && hyprctl dispatch focuswindow \"initialtitle:.*chat-box.*\" && hyprctl dispatch moveactive exact 4300 512"
|
|
||||||
"$mainMod, b, exec, uwsm app -- thunar"
|
|
||||||
"$mainMod SHIFT, B, exec, uwsm app -- vivaldi"
|
|
||||||
"$mainMod, Escape, exec, uwsm app -- wlogout -p layer-shell"
|
|
||||||
"$mainMod, Space, togglefloating"
|
|
||||||
"$mainMod, q, killactive"
|
|
||||||
"$mainMod, M, exit"
|
|
||||||
"$mainMod, F, fullscreen"
|
|
||||||
"$mainMod SHIFT, V, togglefloating"
|
|
||||||
"$mainMod, D, exec, uwsm app -- rofi -show drun -run-command \"uwsm app -- {cmd}\""
|
|
||||||
"$mainMod, V, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
|
||||||
"$mainMod, C, exec, bash -c 'FILE=/tmp/screenshot_$(date +%s).png; grim -g \"$(slurp)\" \"$FILE\" && ksnip \"$FILE\"'"
|
|
||||||
"$mainMod SHIFT, S, exec, uwsm app -- rofi -show emoji"
|
|
||||||
"$mainMod, P, exec, uwsm app -- rofi-pass"
|
|
||||||
"$mainMod SHIFT, P, pseudo"
|
|
||||||
"$mainMod, R, exec, stt-ptt start"
|
|
||||||
"$mainMod, S, exec, stt-ptt start"
|
|
||||||
"$mainMod, J, togglesplit"
|
|
||||||
"$mainMod, h, movefocus, l"
|
|
||||||
"$mainMod, l, movefocus, r"
|
|
||||||
"$mainMod, k, movefocus, u"
|
|
||||||
"$mainMod, j, movefocus, d"
|
|
||||||
"$mainMod, 1, workspace, 1"
|
|
||||||
"$mainMod, 2, workspace, 2"
|
|
||||||
"$mainMod, 3, workspace, 3"
|
|
||||||
"$mainMod, 4, workspace, 4"
|
|
||||||
"$mainMod, 5, workspace, 5"
|
|
||||||
"$mainMod, 6, workspace, 6"
|
|
||||||
"$mainMod, 7, workspace, 7"
|
|
||||||
"$mainMod, 8, workspace, 8"
|
|
||||||
"$mainMod, 9, workspace, 9"
|
|
||||||
"$mainMod, 0, workspace, 10"
|
|
||||||
"$mainMod SHIFT, 1, movetoworkspace, 1"
|
|
||||||
"$mainMod SHIFT, 2, movetoworkspace, 2"
|
|
||||||
"$mainMod SHIFT, 3, movetoworkspace, 3"
|
|
||||||
"$mainMod SHIFT, 4, movetoworkspace, 4"
|
|
||||||
"$mainMod SHIFT, 5, movetoworkspace, 5"
|
|
||||||
"$mainMod SHIFT, 6, movetoworkspace, 6"
|
|
||||||
"$mainMod SHIFT, 7, movetoworkspace, 7"
|
|
||||||
"$mainMod SHIFT, 8, movetoworkspace, 8"
|
|
||||||
"$mainMod SHIFT, 9, movetoworkspace, 9"
|
|
||||||
"$mainMod SHIFT, 0, movetoworkspace, 10"
|
|
||||||
"$mainMod, mouse_down, workspace, e+1"
|
|
||||||
"$mainMod, mouse_up, workspace, e-1"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindr = [
|
|
||||||
"$mainMod, R, exec, stt-ptt stop"
|
|
||||||
"$mainMod, S, exec, stt-ptt format-stop"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindm = [
|
|
||||||
"$mainMod, mouse:272, movewindow"
|
|
||||||
"$mainMod, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.hypridle = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
before_sleep_cmd = "hyprlock";
|
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
|
||||||
inhibit_sleep = 3;
|
|
||||||
};
|
|
||||||
listener = [
|
|
||||||
{
|
{
|
||||||
timeout = 300;
|
name = "zsa-technology-labs-moonlander-mark-i-consumer-control";
|
||||||
on-timeout = "hyprlock";
|
kb_layout = "us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 420;
|
name = "zsa-technology-labs-moonlander-mark-i-keyboard";
|
||||||
on-timeout = "hyprctl dispatch dpms off";
|
kb_layout = "us";
|
||||||
on-resume = "hyprctl dispatch dpms on";
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "zsa-technology-labs-moonlander-mark-i-system-control";
|
||||||
|
kb_layout = "us";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
curve = {
|
||||||
|
_args = [
|
||||||
|
"myBezier"
|
||||||
|
(lua ''{ type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.05 } } }'')
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
animation = [
|
||||||
|
{
|
||||||
|
leaf = "windows";
|
||||||
|
enabled = true;
|
||||||
|
speed = 7;
|
||||||
|
bezier = "myBezier";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
leaf = "windowsOut";
|
||||||
|
enabled = true;
|
||||||
|
speed = 7;
|
||||||
|
bezier = "default";
|
||||||
|
style = "popin 80%";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
leaf = "border";
|
||||||
|
enabled = true;
|
||||||
|
speed = 10;
|
||||||
|
bezier = "default";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
leaf = "borderangle";
|
||||||
|
enabled = true;
|
||||||
|
speed = 8;
|
||||||
|
bezier = "default";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
leaf = "fade";
|
||||||
|
enabled = true;
|
||||||
|
speed = 7;
|
||||||
|
bezier = "default";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
leaf = "workspaces";
|
||||||
|
enabled = true;
|
||||||
|
speed = 6;
|
||||||
|
bezier = "default";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
window_rule = [
|
||||||
|
{
|
||||||
|
match.class = "file_progress";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "confirm";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "dialog";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "download";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "notification";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "error";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "splash";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "confirmreset";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "Open File";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "branchdialog";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "pavucontrol-qt";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "pavucontrol";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "class:^(espanso)$";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "wlogout";
|
||||||
|
fullscreen = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "wlogout";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "wlogout";
|
||||||
|
fullscreen = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "mpv";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "mpv";
|
||||||
|
idle_inhibit = "focus";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.class = "mpv";
|
||||||
|
opacity = "1.0 override";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(Media viewer)$";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(Volume Control)$";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(Picture-in-Picture)$";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(floating-pomodoro)$";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(floating-pomodoro)$";
|
||||||
|
size = "250 50";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(floating-pomodoro)$";
|
||||||
|
move = "12 (monitor_h-150)";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.title = "^(floating-pomodoro)$";
|
||||||
|
pin = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
float = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
pin = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
size = "800 400";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*alert-box.*";
|
||||||
|
move = "100%-820 102";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*chat-box.*";
|
||||||
|
move = "100%-820 512";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
opacity = "0.5 override";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
idle_inhibit = "focus";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
no_anim = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
decorate = false;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
no_shadow = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.initial_title = ".*streamlabs.com.*";
|
||||||
|
no_blur = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match = {
|
||||||
|
class = "^vibe-typer$";
|
||||||
|
title = "^Recording Indicator$";
|
||||||
|
};
|
||||||
|
no_blur = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match = {
|
||||||
|
class = "^vibe-typer$";
|
||||||
|
title = "^Recording Indicator$";
|
||||||
|
};
|
||||||
|
no_shadow = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match = {
|
||||||
|
class = "^vibe-typer$";
|
||||||
|
title = "^Recording Indicator$";
|
||||||
|
};
|
||||||
|
no_anim = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match = {
|
||||||
|
class = "^vibe-typer$";
|
||||||
|
title = "^Recording Indicator$";
|
||||||
|
};
|
||||||
|
border_size = 0;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match = {
|
||||||
|
class = "^vibe-typer$";
|
||||||
|
title = "^Recording Indicator$";
|
||||||
|
};
|
||||||
|
no_focus = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
match.xwayland = true;
|
||||||
|
border_color = "rgb(ffffff)";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
"bind" = [
|
||||||
|
# mainMod + return intentionally remains disabled from the previous config.
|
||||||
|
(mkBinding (modKey "t") (execExpr ''terminal .. " -e nu -c 'nitch; exec nu'"''))
|
||||||
|
(mkBinding (modKey "SHIFT + t") (execCmd "launch-timer"))
|
||||||
|
(mkBinding (modKey "n") (execExpr ''terminal .. " -e nvim"''))
|
||||||
|
(mkBinding (modKey "z") (execCmd "uwsm app -- zeditor"))
|
||||||
|
(mkBinding (modKey "o") ''hl.dsp.window.set_prop({ prop = "opaque", value = "toggle" })'')
|
||||||
|
(mkBinding (modKey "r") (
|
||||||
|
execCmd ''hyprctl dispatch focuswindow "initialtitle:.*alert-box.*" && hyprctl dispatch moveactive exact 4300 102 && hyprctl dispatch focuswindow "initialtitle:.*chat-box.*" && hyprctl dispatch moveactive exact 4300 512''
|
||||||
|
))
|
||||||
|
(mkBinding (modKey "b") (execCmd "uwsm app -- thunar"))
|
||||||
|
(mkBinding (modKey "SHIFT + B") (execCmd "uwsm app -- vivaldi"))
|
||||||
|
(mkBinding (modKey "Escape") (execCmd "uwsm app -- dms ipc call powermenu toggle"))
|
||||||
|
(mkBinding (modKey "q") "hl.dsp.window.close()")
|
||||||
|
(mkBinding (modKey "M") "hl.dsp.exit()")
|
||||||
|
(mkBinding (modKey "F") "hl.dsp.window.fullscreen({})")
|
||||||
|
(mkBinding (modKey "SHIFT + V") ''hl.dsp.window.float({ action = "toggle" })'')
|
||||||
|
(mkBinding (modKey "D") (execCmd "uwsm app -- dms ipc call spotlight toggle"))
|
||||||
|
(mkBinding (modKey "V") (execCmd "uwsm app -- dms ipc call clipboard toggle"))
|
||||||
|
(mkBinding (modKey "C") (
|
||||||
|
execCmd "bash -c 'FILE=/tmp/screenshot_$(date +%s).png; grim -g \"$(slurp)\" \"$FILE\" && ksnip \"$FILE\"'"
|
||||||
|
))
|
||||||
|
(mkBinding (modKey "SHIFT + S") (execCmd "uwsm app -- rofi -show emoji"))
|
||||||
|
(mkBinding (modKey "P") (execCmd "uwsm app -- rofi-pass"))
|
||||||
|
(mkBinding (modKey "SHIFT + P") "hl.dsp.window.pseudo({})")
|
||||||
|
(mkBinding (modKey "R") (execCmd "stt-ptt start"))
|
||||||
|
(mkBinding (modKey "S") (execCmd "stt-ptt start"))
|
||||||
|
(mkBinding (modKey "h") ''hl.dsp.focus({ direction = "l" })'')
|
||||||
|
(mkBinding (modKey "l") ''hl.dsp.focus({ direction = "r" })'')
|
||||||
|
(mkBinding (modKey "k") ''hl.dsp.focus({ direction = "u" })'')
|
||||||
|
(mkBinding (modKey "j") ''hl.dsp.focus({ direction = "d" })'')
|
||||||
|
(mkBinding (modKey "1") (focusWorkspace "1"))
|
||||||
|
(mkBinding (modKey "2") (focusWorkspace "2"))
|
||||||
|
(mkBinding (modKey "3") (focusWorkspace "3"))
|
||||||
|
(mkBinding (modKey "4") (focusWorkspace "4"))
|
||||||
|
(mkBinding (modKey "5") (focusWorkspace "5"))
|
||||||
|
(mkBinding (modKey "6") (focusWorkspace "6"))
|
||||||
|
(mkBinding (modKey "7") (focusWorkspace "7"))
|
||||||
|
(mkBinding (modKey "8") (focusWorkspace "8"))
|
||||||
|
(mkBinding (modKey "9") (focusWorkspace "9"))
|
||||||
|
(mkBinding (modKey "0") (focusWorkspace "10"))
|
||||||
|
(mkBinding (modKey "SHIFT + 1") (moveToWorkspace "1"))
|
||||||
|
(mkBinding (modKey "SHIFT + 2") (moveToWorkspace "2"))
|
||||||
|
(mkBinding (modKey "SHIFT + 3") (moveToWorkspace "3"))
|
||||||
|
(mkBinding (modKey "SHIFT + 4") (moveToWorkspace "4"))
|
||||||
|
(mkBinding (modKey "SHIFT + 5") (moveToWorkspace "5"))
|
||||||
|
(mkBinding (modKey "SHIFT + 6") (moveToWorkspace "6"))
|
||||||
|
(mkBinding (modKey "SHIFT + 7") (moveToWorkspace "7"))
|
||||||
|
(mkBinding (modKey "SHIFT + 8") (moveToWorkspace "8"))
|
||||||
|
(mkBinding (modKey "SHIFT + 9") (moveToWorkspace "9"))
|
||||||
|
(mkBinding (modKey "SHIFT + 0") (moveToWorkspace "10"))
|
||||||
|
(mkBinding (modKey "mouse_down") (focusWorkspace "e+1"))
|
||||||
|
(mkBinding (modKey "mouse_up") (focusWorkspace "e-1"))
|
||||||
|
(mkBindingWithOptions (modKey "mouse:272") "hl.dsp.window.drag()" {mouse = true;})
|
||||||
|
(mkBindingWithOptions (modKey "mouse:273") "hl.dsp.window.resize()" {mouse = true;})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hyprpaper.enable = true;
|
# services.hypridle = {
|
||||||
|
# enable = true;
|
||||||
|
# settings = {
|
||||||
|
# general = {
|
||||||
|
# before_sleep_cmd = "hyprlock";
|
||||||
|
# after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||||
|
# inhibit_sleep = 3;
|
||||||
|
# };
|
||||||
|
# listener = [
|
||||||
|
# {
|
||||||
|
# timeout = 300;
|
||||||
|
# on-timeout = "hyprlock";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# timeout = 420;
|
||||||
|
# on-timeout = "hyprctl dispatch dpms off";
|
||||||
|
# on-resume = "hyprctl dispatch dpms on";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
programs.hyprlock = {
|
# services.hyprpaper.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
"$font" = "JetBrainsMono Nerd Font";
|
|
||||||
"$base" = "rgb(${config.colorScheme.palette.base00})";
|
|
||||||
"$text" = "rgb(${config.colorScheme.palette.base05})";
|
|
||||||
"$textAlpha" = "${config.colorScheme.palette.base05}";
|
|
||||||
"$accentAlpha" = "${config.colorScheme.palette.base0D}";
|
|
||||||
"$red" = "rgb(${config.colorScheme.palette.base08})";
|
|
||||||
"$yellow" = "rgb(${config.colorScheme.palette.base0A})";
|
|
||||||
|
|
||||||
general = {
|
# programs.hyprlock = {
|
||||||
hide_cursor = true;
|
# enable = true;
|
||||||
};
|
# settings = {
|
||||||
|
# "$font" = "JetBrainsMono Nerd Font";
|
||||||
|
# "$base" = "rgb(${config.colorScheme.palette.base00})";
|
||||||
|
# "$text" = "rgb(${config.colorScheme.palette.base05})";
|
||||||
|
# "$textAlpha" = "${config.colorScheme.palette.base05}";
|
||||||
|
# "$accentAlpha" = "${config.colorScheme.palette.base0D}";
|
||||||
|
# "$red" = "rgb(${config.colorScheme.palette.base08})";
|
||||||
|
# "$yellow" = "rgb(${config.colorScheme.palette.base0A})";
|
||||||
|
|
||||||
background = {
|
# general = {
|
||||||
monitor = "";
|
# hide_cursor = true;
|
||||||
path = "${config.home.homeDirectory}/.config/hypr/wallpapers/wallhaven-lmmo8r.jpg";
|
# };
|
||||||
blur_passes = 0;
|
|
||||||
color = "rgb(${config.colorScheme.palette.base00})";
|
|
||||||
};
|
|
||||||
|
|
||||||
label = [
|
# background = {
|
||||||
{
|
# monitor = "";
|
||||||
monitor = "";
|
# path = "${config.home.homeDirectory}/.config/hypr/wallpapers/wallhaven-lmmo8r.jpg";
|
||||||
text = "$TIME";
|
# blur_passes = 0;
|
||||||
color = "$text";
|
# color = "rgb(${config.colorScheme.palette.base00})";
|
||||||
font_size = 90;
|
# };
|
||||||
font_family = "$font";
|
|
||||||
position = "30, 0";
|
|
||||||
halign = "left";
|
|
||||||
valign = "top";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
monitor = "";
|
|
||||||
text = ''cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"'';
|
|
||||||
color = "$text";
|
|
||||||
font_size = 25;
|
|
||||||
font_family = "$font";
|
|
||||||
position = "30, -150";
|
|
||||||
halign = "left";
|
|
||||||
valign = "top";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
input-field = [
|
# label = [
|
||||||
{
|
# {
|
||||||
monitor = "";
|
# monitor = "";
|
||||||
size = "300, 60";
|
# text = "$TIME";
|
||||||
outline_thickness = 4;
|
# color = "$text";
|
||||||
dots_size = 0.2;
|
# font_size = 90;
|
||||||
dots_spacing = 0.2;
|
# font_family = "$font";
|
||||||
dots_center = true;
|
# position = "30, 0";
|
||||||
outer_color = "rgb(${config.colorScheme.palette.base0D})";
|
# halign = "left";
|
||||||
inner_color = "rgb(${config.colorScheme.palette.base00})";
|
# valign = "top";
|
||||||
font_color = "rgb(${config.colorScheme.palette.base05})";
|
# }
|
||||||
fade_on_empty = false;
|
# {
|
||||||
placeholder_text = ''<span foreground="##${config.colorScheme.palette.base05}"> Logged in as <span foreground="##${config.colorScheme.palette.base0D}">$USER</span></span>'';
|
# monitor = "";
|
||||||
hide_input = false;
|
# text = ''cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"'';
|
||||||
check_color = "rgb(${config.colorScheme.palette.base0D})";
|
# color = "$text";
|
||||||
fail_color = "rgb(${config.colorScheme.palette.base08})";
|
# font_size = 25;
|
||||||
fail_text = ''<i>$FAIL <b>($ATTEMPTS)</b></i>'';
|
# font_family = "$font";
|
||||||
capslock_color = "rgb(${config.colorScheme.palette.base0A})";
|
# position = "30, -150";
|
||||||
position = "0, -35";
|
# halign = "left";
|
||||||
halign = "center";
|
# valign = "top";
|
||||||
valign = "center";
|
# }
|
||||||
}
|
# ];
|
||||||
];
|
|
||||||
};
|
# input-field = [
|
||||||
};
|
# {
|
||||||
|
# monitor = "";
|
||||||
|
# size = "300, 60";
|
||||||
|
# outline_thickness = 4;
|
||||||
|
# dots_size = 0.2;
|
||||||
|
# dots_spacing = 0.2;
|
||||||
|
# dots_center = true;
|
||||||
|
# outer_color = "rgb(${config.colorScheme.palette.base0D})";
|
||||||
|
# inner_color = "rgb(${config.colorScheme.palette.base00})";
|
||||||
|
# font_color = "rgb(${config.colorScheme.palette.base05})";
|
||||||
|
# fade_on_empty = false;
|
||||||
|
# placeholder_text = ''<span foreground="##${config.colorScheme.palette.base05}"> Logged in as <span foreground="##${config.colorScheme.palette.base0D}">$USER</span></span>'';
|
||||||
|
# hide_input = false;
|
||||||
|
# check_color = "rgb(${config.colorScheme.palette.base0D})";
|
||||||
|
# fail_color = "rgb(${config.colorScheme.palette.base08})";
|
||||||
|
# fail_text = ''<i>$FAIL <b>($ATTEMPTS)</b></i>'';
|
||||||
|
# capslock_color = "rgb(${config.colorScheme.palette.base0A})";
|
||||||
|
# position = "0, -35";
|
||||||
|
# halign = "center";
|
||||||
|
# valign = "center";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
{config, ...}: {
|
||||||
|
programs.agent-lib = {
|
||||||
|
enable = true;
|
||||||
|
lockFile = config."m3ta-home".paths.srcRoot + "/agent-sources.lock.json";
|
||||||
|
|
||||||
|
targets.pi.enable = true;
|
||||||
|
targets.opencode.enable = true;
|
||||||
|
|
||||||
|
profiles.default = {
|
||||||
|
sources = {
|
||||||
|
m3ta-agents = {
|
||||||
|
agents = {
|
||||||
|
all = true;
|
||||||
|
};
|
||||||
|
skills = {
|
||||||
|
all = true;
|
||||||
|
exclude = ["brainstorming" "pdf" "systematic-debugging" "xlsx"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
anthropic.skills = {
|
||||||
|
all = true;
|
||||||
|
exclude = ["skill-creator"];
|
||||||
|
};
|
||||||
|
basecamp.skills.all = true;
|
||||||
|
kestra.skills.all = true;
|
||||||
|
mattpocock.skills = {
|
||||||
|
all = true;
|
||||||
|
};
|
||||||
|
okf.skills = {
|
||||||
|
all = true;
|
||||||
|
};
|
||||||
|
superpowers.skills = {
|
||||||
|
all = true;
|
||||||
|
};
|
||||||
|
vercel.skills.all = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
# AI agent system — OpenCode, Pi, and MCP server configuration.
|
# AI agent system — OpenCode, Pi, and MCP server configuration.
|
||||||
# Relies on coding.agents options provided by home/common/default.nix
|
# Relies on coding.agents options provided by home/common/default.nix
|
||||||
# (inputs.m3ta-nixpkgs.homeManagerModules.default).
|
# (m3taHomeInputs.m3ta-nixpkgs.homeManagerModules.default).
|
||||||
{
|
{
|
||||||
config,
|
m3taHomeInputs,
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
videoDrivers ? [],
|
videoDrivers ? [],
|
||||||
...
|
...
|
||||||
@@ -19,52 +17,46 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# OpenCode and Pi agent configurations
|
# OpenCode, Pi, and Babysitter agent configurations
|
||||||
|
./agents-lib.nix
|
||||||
|
./babysitter.nix
|
||||||
./opencode.nix
|
./opencode.nix
|
||||||
./pi.nix
|
./pi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
coding.agents.skills = {
|
coding.agents.babysitter.enable = true;
|
||||||
agentsInput = inputs.agents;
|
|
||||||
externalSkills = [
|
|
||||||
{
|
|
||||||
src = inputs.skills-anthropic;
|
|
||||||
selectSkills = ["pdf" "docx" "frontend-design"];
|
|
||||||
}
|
|
||||||
{src = inputs.skills-superpowers;}
|
|
||||||
{src = inputs.skills-vercel;}
|
|
||||||
{src = inputs.skills-basecamp;}
|
|
||||||
{src = inputs.skills-kestra;}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.mcp = {
|
programs.mcp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
servers = {
|
servers = {
|
||||||
|
ContextMode = {
|
||||||
|
command = "bash";
|
||||||
|
args = ["-c" "exec bunx context-mode@latest"];
|
||||||
|
};
|
||||||
DeepWiki = {
|
DeepWiki = {
|
||||||
url = "https://mcp.deepwiki.com/mcp";
|
url = "https://mcp.deepwiki.com/mcp";
|
||||||
};
|
};
|
||||||
Ref = {
|
|
||||||
command = "bash";
|
|
||||||
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
|
||||||
};
|
|
||||||
Exa = {
|
Exa = {
|
||||||
command = "bash";
|
command = "bash";
|
||||||
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
||||||
};
|
};
|
||||||
|
Fireflies = {
|
||||||
|
url = "https://api.fireflies.ai/mcp";
|
||||||
|
};
|
||||||
Outline = {
|
Outline = {
|
||||||
url = "https://wiki.az-gruppe.com/mcp";
|
url = "https://wiki.az-gruppe.com/mcp";
|
||||||
};
|
};
|
||||||
ContextMode = {
|
Playwright = {
|
||||||
command = "bash";
|
command = "bash";
|
||||||
args = ["-c" "exec bunx context-mode@latest"];
|
args = ["-c" "exec bunx @playwright/mcp@latest"];
|
||||||
};
|
};
|
||||||
Honcho = {
|
Ref = {
|
||||||
command = "bash";
|
command = "bash";
|
||||||
args = [
|
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
||||||
"-c"
|
};
|
||||||
''exec bunx mcp-remote@latest https://mcp.honcho.dev --header "Authorization:Bearer $(cat /run/agenix/honcho-key)" --header "X-Honcho-User-Name:m3tam3re"''
|
Teams = {
|
||||||
];
|
command = "bunx";
|
||||||
|
args = ["-y" "@floriscornel/teams-mcp@latest"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -72,14 +64,20 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
agenix-cli
|
agenix-cli
|
||||||
agent-browser
|
agent-browser
|
||||||
|
m3taHomeInputs.agent-lib.packages.${pkgs.stdenv.hostPlatform.system}.agent-lib-cli
|
||||||
beads
|
beads
|
||||||
|
crunch
|
||||||
|
docker-sbx
|
||||||
|
herdr
|
||||||
pi-coding-agent
|
pi-coding-agent
|
||||||
(qmd.override {
|
(qmd.override {
|
||||||
vulkanSupport = videoDrivers == ["amdgpu"];
|
vulkanSupport = videoDrivers == ["amdgpu"];
|
||||||
cudaSupport = videoDrivers == ["nvidia"];
|
cudaSupport = videoDrivers == ["nvidia"];
|
||||||
})
|
})
|
||||||
# opencode-desktop
|
opencode-desktop
|
||||||
openshell
|
openshell
|
||||||
openspec
|
openspec
|
||||||
|
openwork
|
||||||
|
talk
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,142 @@
|
|||||||
|
# Babysitter user profile for Pi/agent workflows.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.coding.agents.babysitter;
|
||||||
|
defaultTimestamp = "2026-05-29T00:00:00.000Z";
|
||||||
|
|
||||||
|
defaultUserProfile = {
|
||||||
|
name = config.home.username;
|
||||||
|
specialties = [
|
||||||
|
{
|
||||||
|
domain = "declarative-system-configuration";
|
||||||
|
subdomains = ["nix" "home-manager" "agents"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
expertiseLevels = {};
|
||||||
|
goals = [
|
||||||
|
{
|
||||||
|
id = "goal-agents-declarative-profile";
|
||||||
|
description = "Keep Babysitter user preferences declarative and reproducible across systems.";
|
||||||
|
category = "agents";
|
||||||
|
priority = "medium";
|
||||||
|
status = "active";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
preferences = {
|
||||||
|
verbosity = "concise";
|
||||||
|
autonomyLevel = "semi-autonomous";
|
||||||
|
riskTolerance = "conservative";
|
||||||
|
};
|
||||||
|
toolPreferences = {
|
||||||
|
packageManagers = ["nix"];
|
||||||
|
languages = ["nix"];
|
||||||
|
operatingSystem = "nixos";
|
||||||
|
};
|
||||||
|
breakpointTolerance = {
|
||||||
|
global = "moderate";
|
||||||
|
skipBreakpointsForKnownPatterns = false;
|
||||||
|
alwaysBreakOn = ["destructive-operations" "secrets" "external-publication"];
|
||||||
|
};
|
||||||
|
communicationStyle = {
|
||||||
|
tone = "technical";
|
||||||
|
language = "en";
|
||||||
|
useEmojis = false;
|
||||||
|
explanationDepth = "brief";
|
||||||
|
preferredResponseFormat = "markdown";
|
||||||
|
};
|
||||||
|
experience = {};
|
||||||
|
installedPlugins = ["babysitter-pi"];
|
||||||
|
installedSkills = ["babysit" "call" "plan" "resume" "doctor" "yolo"];
|
||||||
|
installedAgents = [];
|
||||||
|
createdAt = defaultTimestamp;
|
||||||
|
updatedAt = defaultTimestamp;
|
||||||
|
version = 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
effectiveProfile = lib.recursiveUpdate cfg.profile cfg.profileOverrides;
|
||||||
|
profileJsonTarget = "${cfg.profileDirectory}/user-profile.json";
|
||||||
|
profileMarkdownTarget = "${cfg.profileDirectory}/user-profile.md";
|
||||||
|
profilePreferences = effectiveProfile.preferences or {};
|
||||||
|
profileBreakpointTolerance = effectiveProfile.breakpointTolerance or {};
|
||||||
|
|
||||||
|
listMarkdown = values:
|
||||||
|
lib.concatMapStringsSep "\n" (value: "- ${toString value}") values;
|
||||||
|
|
||||||
|
specialtyDomains = map (specialty: specialty.domain or "unspecified") (effectiveProfile.specialties or []);
|
||||||
|
|
||||||
|
profileMarkdown = ''
|
||||||
|
# Babysitter User Profile
|
||||||
|
|
||||||
|
This file is generated by Home Manager from `coding.agents.babysitter`.
|
||||||
|
|
||||||
|
- Name: ${effectiveProfile.name or "unspecified"}
|
||||||
|
- Breakpoint tolerance: ${profileBreakpointTolerance.global or "unspecified"}
|
||||||
|
- Autonomy level: ${profilePreferences.autonomyLevel or "unspecified"}
|
||||||
|
- Risk tolerance: ${profilePreferences.riskTolerance or "unspecified"}
|
||||||
|
|
||||||
|
## Specialties
|
||||||
|
|
||||||
|
${listMarkdown specialtyDomains}
|
||||||
|
|
||||||
|
## Installed Babysitter Pi Skills
|
||||||
|
|
||||||
|
${listMarkdown (effectiveProfile.installedSkills or [])}
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
options.coding.agents.babysitter = {
|
||||||
|
enable = lib.mkEnableOption "Babysitter user profile for Pi/agent workflows";
|
||||||
|
|
||||||
|
profileDirectory = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = ".a5c";
|
||||||
|
description = ''
|
||||||
|
Home-relative directory where Babysitter reads the user profile.
|
||||||
|
Babysitter Pi documents the user profile at ~/.a5c/user-profile.json.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
profile = lib.mkOption {
|
||||||
|
type = lib.types.attrsOf lib.types.anything;
|
||||||
|
default = defaultUserProfile;
|
||||||
|
description = "Complete non-secret Babysitter user profile JSON.";
|
||||||
|
};
|
||||||
|
|
||||||
|
profileOverrides = lib.mkOption {
|
||||||
|
type = lib.types.attrsOf lib.types.anything;
|
||||||
|
default = {};
|
||||||
|
description = ''
|
||||||
|
Recursive overrides merged into the default Babysitter user profile.
|
||||||
|
Keep this non-secret; the result is written into the Nix store.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
assertions = [
|
||||||
|
{
|
||||||
|
assertion = cfg.profileDirectory != "" && !lib.hasPrefix "/" cfg.profileDirectory;
|
||||||
|
message = "coding.agents.babysitter.profileDirectory must be a non-empty home-relative path.";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
assertion = effectiveProfile ? name && builtins.isString effectiveProfile.name;
|
||||||
|
message = "coding.agents.babysitter profile must include a string name.";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
assertion = effectiveProfile ? specialties && builtins.isList effectiveProfile.specialties;
|
||||||
|
message = "coding.agents.babysitter profile must include a specialties list.";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
assertion = effectiveProfile ? breakpointTolerance && effectiveProfile.breakpointTolerance ? global;
|
||||||
|
message = "coding.agents.babysitter profile must include breakpointTolerance.global.";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
"${profileJsonTarget}".text = builtins.toJSON effectiveProfile + "\n";
|
||||||
|
"${profileMarkdownTarget}".text = profileMarkdown;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,37 +1,28 @@
|
|||||||
{
|
{lib, ...}: {
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
coding.agents.opencode = {
|
|
||||||
enable = true;
|
|
||||||
agentsInput = inputs.agents;
|
|
||||||
};
|
|
||||||
|
|
||||||
coding.opencode = {
|
coding.opencode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
ohMyOpencodeSettings = {
|
ohMyOpencodeSettings = {
|
||||||
agents = {
|
agents = {
|
||||||
sisyphus.model = "litellm/claude-opus-4-6";
|
sisyphus.model = "zai-coding-plan/glm-5.2";
|
||||||
oracle.model = "litellm/claude-sonnet-4-6";
|
oracle.model = "litellm/claude-sonnet-5";
|
||||||
librarian.model = "litellm/claude-sonnet-4-6";
|
librarian.model = "litellm/claude-sonnet-5";
|
||||||
explore.model = "litellm/claude-haiku-4-5";
|
explore.model = "litellm/claude-haiku-4-5";
|
||||||
multimodal-looker.model = "litellm/gpt-5.3-codex";
|
multimodal-looker.model = "litellm/gpt-5.3-codex";
|
||||||
prometheus.model = "litellm/claude-opus-4-6";
|
prometheus.model = "litellm/claude-opus-4-8";
|
||||||
metis.model = "litellm/claude-opus-4-6";
|
metis.model = "litellm/claude-opus-4-8";
|
||||||
momus.model = "litellm/claude-opus-4-6";
|
momus.model = "zai-coding-plan/glm-5.2";
|
||||||
atlas.model = "litellm/claude-sonnet-4-6";
|
atlas.model = "zai-coding-plan/glm-5.2";
|
||||||
};
|
};
|
||||||
categories = {
|
categories = {
|
||||||
visual-engineering.model = "zai-coding-plan/glm-5.1";
|
visual-engineering.model = "zai-coding-plan/glm-5.2";
|
||||||
ultrabrain.model = "litellm/claude-opus-4-6";
|
ultrabrain.model = "litellm/claude-opus-4-8";
|
||||||
deep.model = "litellm/claude-sonnet-4-6";
|
deep.model = "litellm/claude-sonnet-5";
|
||||||
artistry.model = "zai-coding-plan/glm-5.1";
|
artistry.model = "zai-coding-plan/glm-5.2";
|
||||||
quick.model = "litellm/claude-haiku-4-5";
|
quick.model = "litellm/claude-haiku-4-5";
|
||||||
unspecified-low.model = "litellm/claude-sonnet-4-6";
|
unspecified-low.model = "litellm/claude-sonnet-5";
|
||||||
unspecified-high.model = "litellm/claude-opus-4-6";
|
unspecified-high.model = "litellm/claude-opus-4-8";
|
||||||
writing.model = "zai-coding-plan/glm-5.1";
|
writing.model = "zai-coding-plan/glm-5.2";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -236,12 +227,11 @@
|
|||||||
output = 64000;
|
output = 64000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"claude-opus-4-6" = {
|
"claude-opus-4-8" = {
|
||||||
name = "Claude Opus 4.6";
|
name = "Claude Opus 4.8";
|
||||||
options = {
|
options = {
|
||||||
thinking = {
|
thinking = {
|
||||||
type = "enabled";
|
type = "adaptive";
|
||||||
budget_tokens = 16000;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
limit = {
|
limit = {
|
||||||
|
|||||||
@@ -1,41 +1,12 @@
|
|||||||
{inputs, ...}: {
|
{...}: {
|
||||||
coding.agents.pi = {
|
coding.agents.pi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
agentsInput = inputs.agents;
|
|
||||||
|
|
||||||
modelOverrides = {
|
|
||||||
chiron = "minimax/MiniMax-M2.7";
|
|
||||||
chiron-forge = "minimax/MiniMax-M2.7";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Coding rules for Pi agent
|
|
||||||
# Rules sourced from AGENTS repo
|
|
||||||
codingRules = {
|
|
||||||
# Language-specific rules
|
|
||||||
languages = [
|
|
||||||
"nix" # Nix language conventions
|
|
||||||
];
|
|
||||||
|
|
||||||
# Standard concerns from AGENTS repo
|
|
||||||
concerns = [
|
|
||||||
"coding-style" # General coding principles
|
|
||||||
"naming" # Naming conventions (camelCase, snake_case, etc.)
|
|
||||||
"documentation" # Documentation standards
|
|
||||||
"testing" # Testing guidelines (Arrange-Act-Assert)
|
|
||||||
"git-workflow" # Conventional commits, branch naming
|
|
||||||
"git-identity" # Git identity configuration for agents
|
|
||||||
"project-structure" # Project layout conventions
|
|
||||||
];
|
|
||||||
|
|
||||||
# No framework-specific rules for NixOS config
|
|
||||||
frameworks = [];
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
packages = [
|
packages = [
|
||||||
"npm:@dreadedzombie/pi-init"
|
"npm:@dreadedzombie/pi-init"
|
||||||
|
"git:github.com/a5c-ai/babysitter-pi"
|
||||||
"npm:@plannotator/pi-extension"
|
"npm:@plannotator/pi-extension"
|
||||||
"npm:@thesethrose/pi-zai-provider"
|
|
||||||
"npm:pi-agent-browser-native"
|
"npm:pi-agent-browser-native"
|
||||||
"npm:pi-beads-extension"
|
"npm:pi-beads-extension"
|
||||||
"npm:pi-lens"
|
"npm:pi-lens"
|
||||||
@@ -46,11 +17,10 @@
|
|||||||
"npm:pi-subagents"
|
"npm:pi-subagents"
|
||||||
"npm:pi-tool-display"
|
"npm:pi-tool-display"
|
||||||
"npm:pi-web-access"
|
"npm:pi-web-access"
|
||||||
"git:github.com/hk-vk/pi-connect"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
defaultProvider = "minimax";
|
defaultProvider = "openai-codex";
|
||||||
defaultModel = "MiniMax-M2.7";
|
defaultModel = "gpt-5.5";
|
||||||
defaultThinkingLevel = "high";
|
defaultThinkingLevel = "high";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -59,7 +29,7 @@
|
|||||||
# NOTE: Local project .pi/extensions/guardrails.json can override same rule IDs.
|
# NOTE: Local project .pi/extensions/guardrails.json can override same rule IDs.
|
||||||
# For immutable global policies, consider a wrapper or upstream patch.
|
# For immutable global policies, consider a wrapper or upstream patch.
|
||||||
guardrails = {
|
guardrails = {
|
||||||
enable = true;
|
enable = false;
|
||||||
config = {
|
config = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
applyBuiltinDefaults = true;
|
applyBuiltinDefaults = true;
|
||||||
|
|||||||
@@ -9,5 +9,6 @@
|
|||||||
jq
|
jq
|
||||||
ripgrep
|
ripgrep
|
||||||
tree
|
tree
|
||||||
|
worktrunk
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ in {
|
|||||||
bun
|
bun
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".npmrc".text = ''
|
|
||||||
prefix=${npmGlobalPrefix}
|
|
||||||
'';
|
|
||||||
home.sessionVariables.NPM_CONFIG_PREFIX = npmGlobalPrefix;
|
home.sessionVariables.NPM_CONFIG_PREFIX = npmGlobalPrefix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ in {
|
|||||||
amf
|
amf
|
||||||
ffmpeg_6-full
|
ffmpeg_6-full
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gst_all_1.gst-vaapi
|
gst_all_1.gst-plugins-bad
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
qpwgraph
|
qpwgraph
|
||||||
|
|||||||
@@ -44,107 +44,107 @@
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
settings = {
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
hostname = "github.com";
|
HostName = "github.com";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
port = 22;
|
Port = 22;
|
||||||
identityFile = "~/.ssh/github";
|
IdentityFile = "~/.ssh/github";
|
||||||
};
|
};
|
||||||
"code.m3ta.dev" = {
|
"code.m3ta.dev" = {
|
||||||
hostname = "code.m3ta.dev";
|
HostName = "code.m3ta.dev";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/gitea";
|
IdentityFile = "~/.ssh/gitea";
|
||||||
};
|
};
|
||||||
"lkk-nix-1" = {
|
"lkk-nix-1" = {
|
||||||
hostname = "89.58.10.189";
|
HostName = "89.58.10.189";
|
||||||
user = "lkk-admin";
|
User = "lkk-admin";
|
||||||
identityFile = "~/.ssh/lkk-admin";
|
IdentityFile = "~/.ssh/lkk-admin";
|
||||||
};
|
};
|
||||||
"m3-r1" = {
|
"m3-r1" = {
|
||||||
hostname = "202.61.226.110";
|
HostName = "202.61.226.110";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-deck" = {
|
"m3-deck" = {
|
||||||
hostname = "192.168.178.193";
|
HostName = "192.168.178.193";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-kratos-vm" = {
|
"m3-kratos-vm" = {
|
||||||
hostname = "192.168.122.43";
|
HostName = "192.168.122.43";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-helios" = {
|
"m3-helios" = {
|
||||||
hostname = "192.168.178.210";
|
HostName = "192.168.178.210";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-ares" = {
|
"m3-ares" = {
|
||||||
hostname = "192.168.1.30";
|
HostName = "192.168.1.30";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-atlas" = {
|
"m3-atlas" = {
|
||||||
hostname = "152.53.85.162";
|
HostName = "152.53.85.162";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-hermes" = {
|
"m3-hermes" = {
|
||||||
hostname = "204.168.229.93";
|
HostName = "204.168.229.93";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"hermes" = {
|
"hermes" = {
|
||||||
hostname = "46.224.0.92";
|
HostName = "46.224.0.92";
|
||||||
user = "admin";
|
User = "admin";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-zelda" = {
|
"m3-zelda" = {
|
||||||
hostname = "95.217.189.186";
|
HostName = "95.217.189.186";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-skynet" = {
|
"m3-skynet" = {
|
||||||
hostname = "m3-skynet";
|
HostName = "m3-skynet";
|
||||||
user = "admin";
|
User = "admin";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"m3-prox-1" = {
|
"m3-prox-1" = {
|
||||||
hostname = "192.168.1.110";
|
HostName = "192.168.1.110";
|
||||||
user = "root";
|
User = "root";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
IdentityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
"shp-old" = {
|
"shp-old" = {
|
||||||
hostname = "95.217.3.250";
|
HostName = "95.217.3.250";
|
||||||
port = 2222;
|
Port = 2222;
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/self-host-playbook";
|
IdentityFile = "~/.ssh/self-host-playbook";
|
||||||
};
|
};
|
||||||
"shp-1" = {
|
"shp-1" = {
|
||||||
hostname = "95.217.189.186";
|
HostName = "95.217.189.186";
|
||||||
port = 2222;
|
Port = 2222;
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/self-host-playbook";
|
IdentityFile = "~/.ssh/self-host-playbook";
|
||||||
};
|
};
|
||||||
"AZ-CLD-1" = {
|
"AZ-CLD-1" = {
|
||||||
hostname = "152.53.186.119";
|
HostName = "152.53.186.119";
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
"AZ-PRM-1" = {
|
"AZ-PRM-1" = {
|
||||||
hostname = "192.168.152.76";
|
HostName = "192.168.152.76";
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
"git.az-gruppe.com" = {
|
"git.az-gruppe.com" = {
|
||||||
hostname = "git.az-gruppe.com";
|
HostName = "git.az-gruppe.com";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,29 +44,29 @@
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
settings = {
|
||||||
"AZ-CLD-1" = {
|
"AZ-CLD-1" = {
|
||||||
hostname = "152.53.186.119";
|
HostName = "152.53.186.119";
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
"AZ-PRM-1" = {
|
"AZ-PRM-1" = {
|
||||||
hostname = "192.168.152.76";
|
HostName = "192.168.152.76";
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
"git.az-gruppe.com" = {
|
"git.az-gruppe.com" = {
|
||||||
hostname = "git.az-gruppe.com";
|
HostName = "git.az-gruppe.com";
|
||||||
port = 2022;
|
Port = 2022;
|
||||||
user = "sascha.koenig";
|
User = "sascha.koenig";
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
"code.m3ta.dev" = {
|
"code.m3ta.dev" = {
|
||||||
hostname = "code.m3ta.dev";
|
HostName = "code.m3ta.dev";
|
||||||
user = "m3tam3re";
|
User = "m3tam3re";
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
IdentityFile = "~/.ssh/sascha.koenig";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,7 +11,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
npmGlobalPrefix = "${config.home.homeDirectory}/.npm-global";
|
||||||
|
in {
|
||||||
# ── Clipboard ──
|
# ── Clipboard ──
|
||||||
services.cliphist = {
|
services.cliphist = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -25,4 +27,10 @@
|
|||||||
# These are overridden by the identity module, but provide safe defaults.
|
# These are overridden by the identity module, but provide safe defaults.
|
||||||
home.username = lib.mkDefault "m3tam3re";
|
home.username = lib.mkDefault "m3tam3re";
|
||||||
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||||
|
|
||||||
|
home.file.".npmrc".text = ''
|
||||||
|
prefix=${npmGlobalPrefix}
|
||||||
|
@m3ta:registry=https://code.m3ta.dev/api/packages/m3tam3re/npm/
|
||||||
|
//code.m3ta.dev/api/packages/m3tam3re/npm/:_authToken=''${GITEA_TOKEN}
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user