custom-pkgs | ||
dev | ||
machines | ||
modules | ||
nix | ||
overridenModules | ||
raw-conf-files | ||
secrets | ||
.gitignore | ||
.sops.yaml | ||
deployment.nix | ||
flake.lock | ||
flake.nix | ||
keys.nix | ||
packages.nix | ||
README.md | ||
secrets.md | ||
users.nix |
My Personal NixOS configuration
I try to store all my nix configuration in the same tree: this repository.
Might not be super interesting but I still publish it as it may help other to discover new configuration patterns/tricks.
You probably don't want to copy it as it is but instead steal some bits and adapt them for your own configuration.
Entry Point
The entry points are stored in the machine
subdirectory. There are
currently 3 of them, two being named after the greatest space opera
dynasty of all times ;) :
Trantor
: My main workstation.Thinkpad
: my laptop.Seldon
: the bridge between me and the future generations (AKA. the internet), my router.
I usually checkout this git repo in my /etc/nixos
repository then
create a symlink to configuration.nix
.
For instance, I'll do ln -s /etc/nixos/machines/trantor.nix /etc/nixos/configuration.nix
on Trantor.