drop podsync
This commit is contained in:
parent
cd03a9d3f3
commit
dfc1481628
7 changed files with 63 additions and 25 deletions
57
flake.lock
generated
57
flake.lock
generated
|
|
@ -184,6 +184,24 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_3": {
|
||||
"inputs": {
|
||||
"systems": "systems_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1689068808,
|
||||
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -444,7 +462,8 @@
|
|||
"nixos-generators": "nixos-generators",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"pre-commit-hooks": "pre-commit-hooks"
|
||||
"pre-commit-hooks": "pre-commit-hooks",
|
||||
"yousable": "yousable"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
|
@ -477,6 +496,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"locked": {
|
||||
"lastModified": 1667395993,
|
||||
|
|
@ -491,6 +525,27 @@
|
|||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"yousable": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_3",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1689940068,
|
||||
"narHash": "sha256-GBzYvmmAntjUREwjtbLvubFXpcq49qjcgA+jaXUWc4M=",
|
||||
"owner": "t184256",
|
||||
"repo": "yousable",
|
||||
"rev": "1c984eeba11aa9ccfbb797d53e693ee3c252523d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "t184256",
|
||||
"repo": "yousable",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
|
|
@ -51,11 +51,16 @@
|
|||
url = "github:Infinidoge/nix-minecraft";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
yousable = {
|
||||
url = "github:t184256/yousable";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, baduhai-nur, kmonad
|
||||
, nixpkgs-stable, deploy-rs, agenix, nixos-generators, homepage, dotfiles
|
||||
, pre-commit-hooks, nix-minecraft, ... }: {
|
||||
, pre-commit-hooks, nix-minecraft, yousable, ... }: {
|
||||
nixosConfigurations = {
|
||||
rotterdam = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -91,6 +96,7 @@
|
|||
modules = [
|
||||
./hosts/servers/alexandria.nix
|
||||
agenix.nixosModules.default
|
||||
yousable.nixosModules.default
|
||||
self.nixosModules.qbittorrent
|
||||
({ config, pkgs, ... }:
|
||||
let
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
./security.nix
|
||||
./services.nix
|
||||
./pairdrop.nix
|
||||
./podsync.nix
|
||||
./users.nix
|
||||
./variables.nix
|
||||
./vaultwarden.nix
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers.containers."podsync" = {
|
||||
image = "docker.io/mxpv/podsync:latest";
|
||||
environment = { TZ = "America/Bahia"; };
|
||||
ports = [ "${config.ports.podsync}:80" ];
|
||||
volumes = [ "${config.age.secrets."podsync.toml".path}:/app/config.toml" ];
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."podsync.baduhai.me" = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.podsync}";
|
||||
};
|
||||
|
||||
age.secrets."podsync.toml".file = ../../../secrets/podsync.toml.age;
|
||||
}
|
||||
|
|
@ -16,7 +16,6 @@ in {
|
|||
cinny = mkStringOption "8002";
|
||||
librespeed = mkStringOption "8003";
|
||||
paperless = mkStringOption "8004";
|
||||
podsync = mkStringOption "8005";
|
||||
cinny2 = mkStringOption "8006";
|
||||
searx = mkStringOption "8007";
|
||||
qbittorrent = mkStringOption "8008";
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -23,5 +23,4 @@ in {
|
|||
"nextcloud-adminpass.age".publicKeys = all-hosts;
|
||||
"cloudflare.age".publicKeys = all-hosts;
|
||||
"paperless.age".publicKeys = all-hosts;
|
||||
"podsync.toml.age".publicKeys = all-hosts;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue