virtualisation.nix and containerised.nix clash
This commit is contained in:
parent
434fe9900e
commit
74ecb9cb38
2 changed files with 0 additions and 73 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./virtualisation.nix
|
|
||||||
./containerised.nix
|
./containerised.nix
|
||||||
./variables.nix
|
./variables.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
|
|
|
||||||
|
|
@ -1,72 +0,0 @@
|
||||||
{ specialArgs, inputs, config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
virtualisation = {
|
|
||||||
docker.enable = true;
|
|
||||||
oci-containers = {
|
|
||||||
backend = "docker";
|
|
||||||
containers = {
|
|
||||||
"cinny" = {
|
|
||||||
image = "ghcr.io/cinnyapp/cinny:latest";
|
|
||||||
ports = [
|
|
||||||
"${config.ports.cinny}:80"
|
|
||||||
];
|
|
||||||
extraOptions = [
|
|
||||||
"--pull=always"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
"librespeed" = {
|
|
||||||
image = "lscr.io/linuxserver/librespeed:latest";
|
|
||||||
environment = {
|
|
||||||
TZ = "America/Bahia";
|
|
||||||
};
|
|
||||||
ports = [
|
|
||||||
"${config.ports.librespeed}:80"
|
|
||||||
];
|
|
||||||
extraOptions = [
|
|
||||||
"--pull=always"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
"syncthing" = {
|
|
||||||
image = "lscr.io/linuxserver/syncthing:1.20.4";
|
|
||||||
environment = {
|
|
||||||
PUID = "1000";
|
|
||||||
PGID = "100";
|
|
||||||
TZ = "America/Bahia";
|
|
||||||
};
|
|
||||||
volumes = [
|
|
||||||
"/data/syncthing/config:/config"
|
|
||||||
"/data/syncthing/data1:/data1"
|
|
||||||
"/data/syncthing/data2:/data2"
|
|
||||||
"/data/syncthing/notes:/sync/notes"
|
|
||||||
];
|
|
||||||
ports = [
|
|
||||||
"${config.ports.syncthing}:8384"
|
|
||||||
"22000:22000"
|
|
||||||
"21027:21027/udp"
|
|
||||||
];
|
|
||||||
extraOptions = [
|
|
||||||
"--pull=always"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
"whoogle" = {
|
|
||||||
image = "benbusby/whoogle-search:latest";
|
|
||||||
environment = {
|
|
||||||
HTTPS_ONLY = "1";
|
|
||||||
WHOOGLE_CONFIG_DISABLE = "1";
|
|
||||||
WHOOGLE_CONFIG_LANGUAGE = "lang_en";
|
|
||||||
WHOOGLE_CONFIG_THEME = "system";
|
|
||||||
WHOOGLE_CONFIG_VIEW_IMAGE = "1";
|
|
||||||
WHOOGLE_CONFIG_GET_ONLY = "1";
|
|
||||||
};
|
|
||||||
ports = [
|
|
||||||
"${config.ports.whoogle}:5000"
|
|
||||||
];
|
|
||||||
extraOptions = [
|
|
||||||
"--pull=always"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue