added readme and comments for part 1
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
{
|
||||
# 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
|
||||
newHostConfiguration
|
||||
system
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user