Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Nix 98.3%
Just 1.7%
Other 0.1%
96 1 0

Clone this repository

https://tangled.org/cosmeak.dev/asgard https://tangled.org/did:plc:7kmeyu6jyyczz7v2au2wt3hz/asgard
git@tangled.org:cosmeak.dev/asgard git@tangled.org:did:plc:7kmeyu6jyyczz7v2au2wt3hz/asgard

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

dotfiles

This configuration is under constant construction so some things may be remove or add accordings to my needs but i want to keep all even if it's not used anymore.

This repository follow the KISS principle and the suckless idea at this moment, but feel free to propose improvement.

IMPORTANT

Since this configuration is made for my own needs, you can take inspiration and some configuration but do not expect it to work on your side.

Any damage caused by this configuration is not my responsibility, so use it at your own risks.

✨️ - Features#

This repository want this to be multi-user and multi-host so there is some workaround to make things work like i want and keep it simple.

  • NixOS
  • Nix Darwin
  • WSL
  • Nix BSD
  • MicroVM for servers
  • Secrets management
  • Secure Boot
  • Persistant storage
  • Disk configuration
  • Encrypted disks
  • Home management
  • Custom live ISO
  • Auto-updating flakes

💻 - Hosts#

Hostname Motherboard CPU GPU RAM OS Usage Status
hydrogen ASUS ROG STRIX B760-I GAMING WIFI Intel i5 13600kf Nvidia 4070ti 32Go ❄️ 🎮️ 🟢️
helium - Apple M2 Pro Apple M2 Pro 32Go 🍎️ ⌨️ 🟢️
lithium Raspberry Pi3 b+ - - 1Go ❄️ 🧨️ 🟠
beryllium WSL - - 8Go ❄️ ⌨️ 🟢️
boron Aorus B450 Elite AMD Ryzen 3 3300X Nvidia 1060 16Go ❄️ 🎮️ / ⌨️ 🔴
carbon HP ProDesk 400 G1 DM Intel Pentium G3250T - 8Go ❄️ 💾️ 🔴
nitrogen MSI B450-A Pro Max AMD Ryzen 5 3600x Nvidia 1660ti 16Go ❄️ 🎮️ 🔴
Legend
  • 🎮️ : Gaming
  • 💾️ : Server
  • ☁️ : Virtual Machime
  • ⌨️ : Coding
  • 🧨️ : Testing purpose
  • 🎭️ : Dual Boot
  • ❄️ : NixOS
  • 🍎️ : MacOS
  • 👹️ : FreeBSD with NixBSD

📦 - Folder structure#

.
├── hardware # Specific hardware configuration
├── lib # Custom functions needed to help configure
├── machines # Host-specific configuration
│  └── <os> # Darwin or NixOS
│  │  └── <hostname>
├── modules # Darwin, NixOS, and shared configuration
│  ├── commons
│  ├── nixos
│  └── darwin
├── packages
├── overlays
├── templates
└── users # User home configuration
    ├── commons
    │  └── <username>
    └── <hostname>

📚️ - Acknowledgments#

These are the things that help me the most to understand Nix ecosystem and help me build my configuration from scratch.

You can retrieve dotfiles that inspired me inside my dotfiles star list.

🐛 - Troubleshooting#

  • If the rebuild command failed because an experimental feature is disabled use this command:
sudo -E NIX_CONFIG="experimental-features = nix-command flakes pipe-operators" nixos-rebuild switch --flake .