···11+# Asgard
22+33+> [!WARNING]
44+> This configuration is only for my purpose, you can take inspiration and some code but don't install or use it as a base.๐
55+66+## ๐ป - Hosts
77+88+| Name | OS | Usage | Machine |
99+| -------- | --------------------- | ----------- | -------------- |
1010+| njord | MacOS | Development | Macbook Pro M2 |
1111+| loki | NixOS | Gaming | Desktop |
1212+| hvedrung | FreeBSD (with nixbsd) | Tests | Desktop |
1313+1414+| Machine | CPU | GPU | RAM |
1515+| ------- | ---------- | ------------- | ---- |
1616+| Desktop | i5 13600kf | Nvidia 4070ti | 32Go |
1717+1818+> [!NOTE]
1919+> The i5 is the worst CPU i've got, so much problem with stability and other things, some patch applied can be link for it stability.
2020+2121+## ๐ฆ - Structure
2222+2323+```
2424+.
2525+โโโ homes # User home configuration (Not Home manager, just sim)
2626+โ โโโ cosmeak # Personal folders for dotfiles
2727+โโโ hosts # Host-specific configuration
2828+โ โโโ njord # MacOS development laptop
2929+โ โโโ loki # Nixos gaming desktop
3030+โ โโโ hvedrung # FreeBSD (only for testing purpose of nixbsd)
3131+โโโ modules # macOS and nix-darwin, NixOS, and shared configuration
3232+ โโโ shared # Shared modules across all platforms
3333+ โโโ nixos # Nixos modules
3434+ โโโ darwin # MacOS modules
3535+ โโโ bsd # FreeBSD modules
3636+```
3737+3838+## ๐ก - Acknowledgments
3939+4040+These are the things that help me the most to understand Nix ecosystem and help me build my configuration from scratch.
4141+4242+- [elythh](https://github.com/elythh/flake)
4343+- [Flakes book](https://nixos-and-flakes.thiscute.world/)
4444+- [Nix Language](https://nix.dev/)
4545+- [chenglab](https://github.com/eh8/chenglab/blob/main/modules/macos/base.nix)
+1-1
hosts/njord/configuration.nix
···9393 # List packages installed in system profile. To search by name, run:
9494 # $ nix-env -qaP | grep wget
9595 environment.systemPackages = with pkgs; [
9696- # Dev environment most used
9696+ # most used Dev environment
9797 php83
9898 php83Packages.composer
9999 nodejs_20