How dnswd/nixos works
Main Components
a. Core Configuration Layer
• configuration.nix (system-level configuration)
• hardware-configuration.nix (hardware-specific settings)
• home.nix (user environment configuration)
• flake.nix (reproducible builds and dependencies)
b. Configuration Modules (config/)
• Development Environment (devel/)
• Window Manager (hyprland.nix)
• Terminal Emulator (kitty.nix)
• Shell Configuration (zsh.nix)
• System Tools (tmux.nix, notification.nix)
c. Custom Packages (pkgs/)
• Neovim Configuration
• Cursor Editor
d. Library Components (lib/)
• Utility Functions
• Module Management
┌─────────────────────────────────────────────┐
• NixOS System Core │
• ┤
• Configuration Layer │
• ┌─────────────┐ ┌────────────┐ │
• Flake.nix │ │ Home.nix │ │
• ┘ └────────────┘ │
• ┤
• Modules Libraries │
• ┌─────────────┐ ┌──────────┐ │
• Config │ │ Lib │ │
• Modules │<──────────>│ Utilities│ │
• ┘ └──────────┘ │
• ┤
• Custom Packages │
• ┌─────────────┐ ┌────────────┐ │
• Neovim │ │ Cursor │ │
• Config │ │ Editor │ │
• ┘ └────────────┘ │
• ┘
Additional Elements
• Input/output flows showing how configurations are applied
• System state management
• Relationship with NixOS modules
• Where user customizations can be applied