My collection of dotfiles:
flake.nixis the entrypoint, while directories hold modules, overlays, packages, etc.- Host-specific configuration to into
base_hosts, consuming the root flake.nix as an input.
Most modules assume the username to be aldur.
The whole NixOS configuration ships as an OCI container, built in CI. Try it out as follows.
On Apple container:
container run -it --rm ghcr.io/aldur/aldur-nixos:latest
# add --ssh to enable agent forwardingWith Docker/Podman 1:
podman run --rm -it ghcr.io/aldur/aldur-nixos:latestSee the packages directories for a few more.
A slightly customized LazyVim setup.
nix run "github:aldur/dotfiles#lazyvim"Or its light version:
nix run "github:aldur/dotfiles#lazyvim-light"Launch a qemu-vm with the configuration from this repository.
See the README for more information.
nix run "github:aldur/dotfiles#qemu-vm"Use nix flake show github:aldur/dotfiles for a full list. Some of my
favorites are claude-log, flatten-pdf, shrink-pdf, and llm.
To further configure the QEMU VM, clone the template:
nix flake init --template github:aldur/dotfiles#vm-noguiTo build a NixOS OCI image for Apple container, clone the template:
nix flake init --template github:aldur/dotfiles#apple-containerSee the README for how to build, load, and run it.
Footnotes
-
The images are optimized for Apple
container, but I have successfully tested them onpodmanas well. Let me know if you encounter any issue! ↩