nixos-configuration/infra/flake.nix

30 lines
582 B
Nix
Raw Normal View History

2023-12-08 15:52:59 +00:00
{
description = "Configuration of all remote NixOS machines.";
inputs = {
phobos = {
url = "path:./phobos";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = { nixpkgs, phobos, ... }:
let
system = "x86_64-linux";
in
{
colmena = {
meta = {
nixpkgs = import nixpkgs {
inherit system;
};
specialArgs = { inherit system; };
};
# Remote machines
phobos = phobos.nixosModules.default;
};
};
}