flake: Initialise new repository
This commit is contained in:
commit
1eb25ada72
41 changed files with 1657 additions and 0 deletions
31
modules/nixos/pinchflat.nix
Normal file
31
modules/nixos/pinchflat.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
virtualisation.oci-containers = {
|
||||
containers = {
|
||||
pinchflat = {
|
||||
image = "ghcr.io/kieraneglin/pinchflat:latest";
|
||||
environment.TZ = "Europe/Berlin";
|
||||
ports = [ "127.0.0.1:8945:8945" ];
|
||||
volumes = [
|
||||
"/mnt/sdb1/media/youtube/config:/config"
|
||||
"/mnt/sdb1/media/youtube/downloads:/downloads"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
containers.youtube = {
|
||||
autoStart = true;
|
||||
|
||||
config = {
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "server";
|
||||
interfaceName = "userspace-networking";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue