nixcfg icon indicating copy to clipboard operation
nixcfg copied to clipboard

My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.

Repo Layout

  • hosts/ - Machines/Hardware definitions.

    • pyxis/ - My android phone, built with Robotnix

    • t480/ - My laptop

    • swordfish/ - My server

    • h1/ - Another server

    • hetznix/ - A hetznix server for random stuff

    • mail/ - my mailserver

    • matrix/ - my matrix server

    • doesRouter/ - My router

  • modules/ - Modules nixosModules that appear in the flake, automatically.

    • mixins/ - Dotfiles/Configurations. Instead of imperatively configuring /etc/ or ~/.config, everything in here is written in Nix instead. This nix code implements the changes I want that would traditionally be done by modifying something in /etc/ or ~/.config using vim.

    • profiles/ - Configurations that are often comprised of mixins that are intended to be imported into a given system.

    • ssot/ - Single Source of Truth, stuff like my SSH Keys, etc.

    • editor/ - Editor configs.

    • users/ - home-manager configuration per user.

  • secrets/ - age encrypted secrets, made possible by agenix

  • environments/ - Environments/Shells for things I need to work with, such as Yocto.

  • examples - Things I don't necessarily want to use, but want to keep around and link to people online.