ooknet/outputs/hosts/servers.nix
2024-11-21 12:24:04 +11:00

26 lines
515 B
Nix

{
withSystem,
ook,
...
}: let
inherit (ook.lib.builders) mkServer;
in {
flake.nixosConfigurations = {
ooknode = mkServer {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooknode";
domain = "ooknet.org";
type = "vm";
profile = "linode";
services = ["website" "forgejo"];
};
ookmedia = mkServer {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooksmedia";
type = "desktop";
services = [];
};
};
}