Important
As this is my personal configuration, not everything may work for you. You probably also want to change some things around. You're better off creating your own configuration.
NixOS configuration using flakes and home-manager.
Flakes used:
Other configurations from where I learned and copied: