Compare commits
10 commits
21466c9743
...
7bdfcc58e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bdfcc58e7 | |||
| 51ecfd1df5 | |||
| 883269c8bd | |||
| 630f678a04 | |||
| 68dcce4cf4 | |||
| e402107085 | |||
| ae0f7423d7 | |||
| 48b51f85b5 | |||
| b8366707c9 | |||
| 9b36d2d8c7 |
5 changed files with 9 additions and 87 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -255,11 +255,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772342291,
|
||||
"narHash": "sha256-hXlWBR5yBOtxgF/7Vr2tVknh4LxFGheiS7yHD8sWbfs=",
|
||||
"lastModified": 1777580503,
|
||||
"narHash": "sha256-JBnRWEkz7jV1IBZWYS5e97rngP66sYRB++3CzM2fnv4=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "1ef6d4cd8517855b9aaf7671dccc6f992eea1f6c",
|
||||
"revCount": 74,
|
||||
"rev": "5771d6c6cbff83d956d54cb2fec1a7e337b8af67",
|
||||
"revCount": 83,
|
||||
"type": "git",
|
||||
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ in {
|
|||
enable = mkEnableOption "gaming apps";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.lutris
|
||||
pkgs.openrct2
|
||||
pkgs.prismlauncher
|
||||
home.packages = with pkgs; [
|
||||
ckan # ksp mod manager
|
||||
lutris # game launcher
|
||||
openrct2 # rollercoaster tycoon
|
||||
prismlauncher # minecraft
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,12 +14,6 @@ in {
|
|||
options = ["nofail" "noatime"];
|
||||
};
|
||||
|
||||
"/mnt/export2178" = {
|
||||
device = "172.16.129.151:/nas/5876/immich";
|
||||
fsType = "nfs";
|
||||
options = ["nofail" "noatime"];
|
||||
};
|
||||
|
||||
"/mnt/export2179" = {
|
||||
device = "172.16.131.31:/nas/5876/syncthing";
|
||||
fsType = "nfs";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ with lib; {
|
|||
./trilium.nix
|
||||
./syncthing.nix
|
||||
./calibre-web.nix
|
||||
./immich.nix
|
||||
./mealie.nix
|
||||
./dufs.nix
|
||||
./isso.nix
|
||||
|
|
|
|||
|
|
@ -1,72 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."photos.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:2283";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
immich = {
|
||||
enable = true;
|
||||
secretsFile = "/var/trust/immich/secrets.txt";
|
||||
mediaLocation = "/mnt/export2178/immich/media";
|
||||
machine-learning.enable = false;
|
||||
environment = {
|
||||
IMMICH_TELEMETRY_EXCLUDE = "host,api,io,repo,job";
|
||||
};
|
||||
settings = {
|
||||
machineLearning = {
|
||||
enabled = false;
|
||||
};
|
||||
job = {
|
||||
backgroundTask = {
|
||||
concurrency = 1;
|
||||
};
|
||||
smartSearch = {
|
||||
concurrency = 1;
|
||||
};
|
||||
metadataExtraction = {
|
||||
concurrency = 1;
|
||||
};
|
||||
faceDetection = {
|
||||
concurrency = 1;
|
||||
};
|
||||
search = {
|
||||
concurrency = 1;
|
||||
};
|
||||
sidecar = {
|
||||
concurrency = 1;
|
||||
};
|
||||
library = {
|
||||
concurrency = 1;
|
||||
};
|
||||
migration = {
|
||||
concurrency = 1;
|
||||
};
|
||||
thumbnailGeneration = {
|
||||
concurrency = 1;
|
||||
};
|
||||
videoConversion = {
|
||||
concurrency = 1;
|
||||
};
|
||||
notifications = {
|
||||
concurrency = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue