This repository contains the configuration of my personal computer with Nix, NixOS and Home-Manager.
You're welcome to use any of this! Just be aware that this is my personal learning playground where I'm not worried about scalability or design perfection since I'm the only user.
This is my second attempt of a NixOS and Home-Manager configuration. I will try to keep this a bit simpler then the previous one. I started with a single user and host configuration and wanna see how far I get with just that, before making the configuration more complex.
The following shows the current file structure:
mynix
│
├── home # Everything that belongs into $XDG_HOME (Home-Manager)
│ ├── apps # GUI applications
│ ├── cli # CLI setup and command line applications
│ ├── desktop # Desktop setup and Desktop Utilities
│ └── neovim # Beloved $EDITOR
│
├── host # System wide configuration
│ ├── services # System services
│ └── users # System users (links to ./home/<username>.nix)
│
└── overlays # Customization of packages
This configuration can either be used with NixOS or Home-Manager on any other distribution with Nix installed.
Use config under NixOS
sudo nixos-rebuild switch --flake ~/mynix#saxumUser config with Home-Manager
sudo nixos-rebuild switch --flake ~/mynix#saxumMost of the things I know about Nix, I learned through examples and explanations of others. I really appreciate them taking the time to write that stuff down to make it easier for me to understand, use and love Nix.
The following is a list of people and resources that helped me a lot in configuring my system. I try to add links to the places I took inspiration / stole configuration from. Still there's a bunch of older stuff, of which i can't recall where i have it from. Thanks to anyone sharing their knowledge!
- Misterio77's nix-config - Great resource to get started with NixOS and Home-Manager.
- Starter config for a cool starting point if you're interesetd in Nix
- tjdevries - Lot's of cool Neovim stuff
- NixOS
- Home Manager
- Nix Flakes
- Zero-to-Nix - Straight forward introduction to Nix-Flakes.