pull out actual and cloudflared to main
This commit is contained in:
parent
4dc2de88e2
commit
2b660e73e9
6 changed files with 43 additions and 34 deletions
17
actual.nix
Normal file
17
actual.nix
Normal 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}";
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue