reorganisation

This commit is contained in:
2026-11-08 13:33:00 +00:00
parent aa20bae49c
commit a36df6e6a9
13 changed files with 45 additions and 28 deletions

View File

@@ -0,0 +1,24 @@
{
# Import self and universal inputs (different to inputs')
self,
inputs,
...
}: {
# Define nixosConfiguration with hostname "newHost"
flake.nixosConfigurations.newHost = inputs.nixpkgs.lib.nixosSystem {
# Define modules to import
modules = with self.nixosModules; [
newHostConfiguration
desktop
zsh
# Change config options in this object
# This can be done per-host with different options,
# allowing for smaller changes to modules' functionality
# Without having to create a whole new module
({...}: {
enableHighlighting = true;
})
];
};
}