refactor: organize hosts configs into dedicated directory

- Move and rename host-specific configurations (e.g., wsl to hosts/wsl)
- Add home.nix files for mbp and wsl, importing common modules
- Update mbp flake.nix path to new hosts/mbp/configuration.nix
- Integrate home-manager for user environments on macOS/WSL
- Update flake.lock inputs (nixpkgs, home-manager, homebrew) for latest versions
- Add README.md with project overview and setup instructions

This restructures the repo for multi-host support, improves modularity, and ensures reproducible builds with updated dependencies.
This commit is contained in:
Den Afanasyev 2025-10-12 00:38:28 +03:00
parent 42b2706505
commit 665a701aaa
21 changed files with 331 additions and 418 deletions

24
flake.lock generated
View file

@ -40,11 +40,11 @@
]
},
"locked": {
"lastModified": 1759853171,
"narHash": "sha256-uqbhyXtqMbYIiMqVqUhNdSuh9AEEkiasoK3mIPIVRhk=",
"lastModified": 1760130406,
"narHash": "sha256-GKMwBaFRw/C1p1VtjDz4DyhyzjKUWyi1K50bh8lgA2E=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1a09eb84fa9e33748432a5253102d01251f72d6d",
"rev": "d305eece827a3fe317a2d70138f53feccaf890a1",
"type": "github"
},
"original": {
@ -72,11 +72,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1759948268,
"narHash": "sha256-PKfR49kBk6QWICMiiAZ1gTA6ns2AgJ4PR54POhApPEQ=",
"lastModified": 1760211302,
"narHash": "sha256-HVl2Z625D3Y7Bh9fPbj0oFt1vGjVWt7ZCaoV1n08ojc=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "5fd3508b3552a5c0c28fb4a625b94c6e16253f45",
"rev": "f87e2b258ef5fbe8900380227a7215d54de104fd",
"type": "github"
},
"original": {
@ -88,11 +88,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1759949937,
"narHash": "sha256-XWl8nOFNrjJlYE7MjI1kI3u4X58cV+4JZ8KJr32E3RM=",
"lastModified": 1760212566,
"narHash": "sha256-AqJpqsm1+WXonanloEoivHhb9WqvFvO38l2Y3Ze0E1Q=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "b6adad21707caea42597e617f676d19a83f05bb9",
"rev": "49d48a960dc89c6282a903a8776c946d5c6be362",
"type": "github"
},
"original": {
@ -164,11 +164,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1759831965,
"narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=",
"lastModified": 1760038930,
"narHash": "sha256-Oncbh0UmHjSlxO7ErQDM3KM0A5/Znfofj2BSzlHLeVw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c9b6fb798541223bbb396d287d16f43520250518",
"rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3",
"type": "github"
},
"original": {