Pericyte: Test
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./container-registry.nix
|
./container-registry.nix
|
||||||
|
./test.nix
|
||||||
# ./microvm-configuration.nix
|
# ./microvm-configuration.nix
|
||||||
# ./k3s.nix
|
# ./k3s.nix
|
||||||
];
|
];
|
||||||
|
|||||||
32
machines/pericyte/test.nix
Normal file
32
machines/pericyte/test.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
users.groups.peertube = { };
|
||||||
|
users.users.peertube = {
|
||||||
|
isSystemUser = true;
|
||||||
|
group = "peertube";
|
||||||
|
home = "/var/lib/peertube";
|
||||||
|
createHome = true;
|
||||||
|
uid = 2342;
|
||||||
|
subUidRanges = [
|
||||||
|
{
|
||||||
|
count = 65536;
|
||||||
|
startUid = 2147483646;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
subGidRanges = [
|
||||||
|
{
|
||||||
|
count = 65536;
|
||||||
|
startGid = 2147483647;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
virtualisation.oci-containers = {
|
||||||
|
backend = "podman";
|
||||||
|
# containers.peertube = {
|
||||||
|
# image = "chocobozzz/peertube:latest";
|
||||||
|
# ports = [ ];
|
||||||
|
# podman = {
|
||||||
|
# user = "peertube";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user