Here there are some useful notes about the system in case you want to tinker with it.
There is a recipe designed to run the linting and formatting of all the languages used on Nubosa, just run it like this:
just check
The main directories that constitute Nubosa are:
cumulus
: The custom CLI designed for Nubosa, its flake and justfile are tailored for this project and will only work onnix
environment and not on genericvenv
Python one.dotfiles
: Dotfiles that are not declared withnix
lang and are symlinked by Home Manager, here atdotfiles/nix/nix.conf
is stored the nix config applied byjust setup
.justfiles
: Extra justfiles impored to the many one.modules
: Nix files used by the system split onmodules/common
for all hosts,modules/nixos
for thevalhalla
host andmodules/macos
for thenirvana
host.scripts
: Scripts installed on thevalhalla
host atscripts/nixos
and auxiliar scripts used for the tooling of the repository atscripts/misc
.static
: Static files used by the Markdown files.
Unfortunately the support for using a flake relative to another in a repository is cumbersome to say at least, and it doesn't seam to be improved in the near future, so the only solution at the moment is to add the flake as an import using the path:
URL which have as a consequence the locking of its input dependant of the file system where the lock occurred, to work around this the recipe lock-cumulus
located at justfiles/misc.just
needs to be run on every new system, to make this transparent to the user this recipe is put as a dependency on every recipe that interacts with the main flake.nix
file.