rename machine_flake back to clan_flake

This commit is contained in:
Jörg Thalheim
2023-09-14 17:04:04 +02:00
parent 2048ffccb0
commit 02f421546c
14 changed files with 54 additions and 56 deletions

View File

@@ -0,0 +1,23 @@
{
inputs = {
# this placeholder is replaced by the path to nixpkgs
nixpkgs.url = "__NIXPKGS__";
};
outputs = inputs: {
nixosConfigurations.machine1 = inputs.nixpkgs.lib.nixosSystem {
modules = [
./nixosModules/machine1.nix
(if builtins.pathExists ./machines/machine1.json
then builtins.fromJSON (builtins.readFile ./machines/machine1.json)
else { })
{
nixpkgs.hostPlatform = "x86_64-linux";
# speed up by not instantiating nixpkgs twice and disable documentation
nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
documentation.enable = false;
}
];
};
};
}