Add firefox-syncserver
This commit is contained in:
parent
3da796093e
commit
6c8f495a80
2 changed files with 31 additions and 0 deletions
30
flake.nix
30
flake.nix
|
@ -72,5 +72,35 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.lxc-firefox-syncserver = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
|
||||
modules = [
|
||||
(nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix")
|
||||
|
||||
{
|
||||
networking.hostName = "firefox-syncserver";
|
||||
|
||||
services.mysql.package = nixpkgs.legacyPackages.${system}.mariadb;
|
||||
|
||||
services.firefox-syncserver = {
|
||||
enable = true;
|
||||
secrets = ./firefox-syncserver.env;
|
||||
settings.host = "0.0.0.0";
|
||||
singleNode = {
|
||||
enable = true;
|
||||
hostname = "0.0.0.0";
|
||||
url = "https://fxsync.fern.garden";
|
||||
capacity = 1;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 5000 ];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue