Files
infra-nix/flake.nix
T

29 lines
582 B
Nix

{
description = "Home infra for lindenfelser.de (fileserver + gateway)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
in {
nixosConfigurations = {
fileserver = lib.nixosSystem {
inherit system;
modules = [
./hosts/fileserver/configuration.nix
];
};
gateway = lib.nixosSystem {
inherit system;
modules = [
./hosts/gateway/configuration.nix
];
};
};
};
}