mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 22:52:57 +00:00
28 lines
521 B
Nix
28 lines
521 B
Nix
{
|
|
description = "nix-configurations";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
let
|
|
globalModules = [
|
|
{
|
|
system.configurationRevision = self.rev or self.dirtyRev or null;
|
|
}
|
|
./default.nix
|
|
];
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
odroid8 = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = globalModules
|
|
++ [ ./hosts/odroid8.nix ];
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|