This commit is contained in:
2023-11-19 03:29:00 +00:00
parent bd57d2565c
commit 3fc9a0399c
5 changed files with 241 additions and 0 deletions

27
flake.nix Normal file
View File

@@ -0,0 +1,27 @@
{
description = "nix-configurations";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, nix-darwin, agenix, home-manager, ... }@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 ];
};
};
};
}