I recently switched to flake-parts as kind of framework to manage my flakes, roughly as if they were configuration.
Therefore this flake currently still contains a lot of quick legacy stuff for easier migration. Basically everything you see here in the second code block is such legacy code.
The interesting part is the home_configs.nix and system_config,nix which define "options" that make it easier to create actual nixos and HM configurations as required by the respectve tooling.
Both modules are written in a way, that they follow a strict convention but make it easily possible to override specifics if necessary.
I recently switched to
flake-parts
as kind of framework to manage my flakes, roughly as if they were configuration.Therefore this flake currently still contains a lot of quick legacy stuff for easier migration. Basically everything you see here in the second code block is such legacy code.
The interesting part is the
home_configs.nix
andsystem_config,nix
which define "options" that make it easier to create actual nixos and HM configurations as required by the respectve tooling.Both modules are written in a way, that they follow a strict convention but make it easily possible to override specifics if necessary.
Originally posted by @NobbZ in https://github.com/aleeusgr/nixos-config/discussions/3#discussioncomment-4326039