pull out actual and cloudflared to main

This commit is contained in:
Clayton Hickey 2026-03-09 15:23:38 -04:00
parent 4dc2de88e2
commit 2b660e73e9
6 changed files with 43 additions and 34 deletions

17
actual.nix Normal file
View file

@ -0,0 +1,17 @@
{lib, config, ...}:
let
in
{
config = lib.mkMerge [
(lib.mkIf (config.networking.hostName == "loadedskypotato") {
services.actual = {
enable = true;
settings = {
hostname = "127.0.0.1";
};
};
services.cloudflared.tunnels.mine.ingress."actual.claytonhickey.me" = "http://127.0.0.1:${builtins.toString 3000}";
})
];
}