common | ||
crypto | ||
hosts | ||
modules/nixos | ||
overlays | ||
pkgs | ||
stuff | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
README.md |
My NixOS config
File system structure
this is outdated
common
: stores all Nix files which are shared by all system configsde
: Desktop environments and their parametershardware
: self-explenatorylocales
: localization optionspackages
: services & packages with common configurationsbase.nix
: The minimum configuration that a machine needsfull-install.nix
: if this machine has a DE or is going to be used by a humantasia-packages.nix
: Collection of additional packages
hosts
: Machine-specific configurationsmodules/nixos
: Custom NixOS modulesoverlays
: Custom NixOS overlayspkgs
: Custom NixOS packages
Memo
Update channels: nix flake update
Build a configuration: # nixos-rebuild switch --flake .#phoenix
Build enry and upload a generation: TODO
git
generate an ssh key: ssh-keygen -t ed25519
add to ssh-agent: ssh-add .ssh/id_ed25519
add to git: git config --global user.signingkey ~/.ssh/id_ed25519
Hosts
theseus
My main PC. Mostly unused because of power constraints
phoenix
My old laptop.
stuff
Another person's laptop.
enry
This is my Raspberry Pi 3B+ inside my electrical cabinet.
new-new-phoenix
New laptop. Main driver. TODO: give it a name.