This commit is contained in:
Reid 2023-08-09 21:05:37 -07:00
commit 834ba83f0b
4 changed files with 294 additions and 0 deletions

27
flake.nix Normal file
View file

@ -0,0 +1,27 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "aarch64-linux";
pkgs = import nixpkgs {
allowUnfree = true;
};
in
{
nixosConfigurations = {
server = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./hosts/server/configuration.nix
];
};
};
};
}