Compare commits
5 commits
4db28db213
...
e1b9fa71dd
| Author | SHA1 | Date | |
|---|---|---|---|
| e1b9fa71dd | |||
| d302ef246e | |||
| a9f4a448bb | |||
| e19e7405c4 | |||
| 1e5c943d52 |
4 changed files with 25 additions and 25 deletions
|
|
@ -41,6 +41,7 @@
|
||||||
NXF_HOME = "${config.xdg.dataHome}/nextflow";
|
NXF_HOME = "${config.xdg.dataHome}/nextflow";
|
||||||
NXF_CACHE = "${config.xdg.cacheHome}/nextflow";
|
NXF_CACHE = "${config.xdg.cacheHome}/nextflow";
|
||||||
NXF_CONDA_CACHEDIR = "${config.xdg.cacheHome}/nextflow/conda";
|
NXF_CONDA_CACHEDIR = "${config.xdg.cacheHome}/nextflow/conda";
|
||||||
|
NXF_APPTAINER_CACHEDIR = "${config.xdg.cacheHome}/nextflow/singularity";
|
||||||
NXF_SINGULARITY_CACHEDIR = "${config.xdg.cacheHome}/nextflow/singularity";
|
NXF_SINGULARITY_CACHEDIR = "${config.xdg.cacheHome}/nextflow/singularity";
|
||||||
JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia:";
|
JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia:";
|
||||||
JULIA_PKG_USE_CLI_GIT = "true";
|
JULIA_PKG_USE_CLI_GIT = "true";
|
||||||
|
|
|
||||||
|
|
@ -39,18 +39,24 @@
|
||||||
config_profile_contact = 'Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>'
|
config_profile_contact = 'Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>'
|
||||||
config_profile_url = null
|
config_profile_url = null
|
||||||
|
|
||||||
max_memory = 30.GB
|
max_memory = 90.GB
|
||||||
max_cpus = 12
|
max_cpus = 32
|
||||||
max_time = 7.d
|
max_time = 7.d
|
||||||
}
|
}
|
||||||
|
|
||||||
apptainer {
|
apptainer {
|
||||||
enabled = true
|
enabled = true
|
||||||
autoMounts = true
|
autoMounts = true
|
||||||
|
runOptions = "--bind /nix/store:/nix/store:ro"
|
||||||
}
|
}
|
||||||
|
|
||||||
process {
|
process {
|
||||||
executor = 'local'
|
executor = 'local'
|
||||||
|
resourceLimits = [
|
||||||
|
memory: 90.GB,
|
||||||
|
cpus: 32,
|
||||||
|
time: 7.d
|
||||||
|
]
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@
|
||||||
PreviewSettings.Plugins =
|
PreviewSettings.Plugins =
|
||||||
"audiothumbnail,avif,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,jxl,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mobithumbnail,opendocumentthumbnail,gsthumbnail,rawthumbnail,svgthumbnail,gdk-pixbuf-thumbnailer,ffmpegthumbs,gsf-office";
|
"audiothumbnail,avif,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,jxl,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mobithumbnail,opendocumentthumbnail,gsthumbnail,rawthumbnail,svgthumbnail,gdk-pixbuf-thumbnailer,ffmpegthumbs,gsf-office";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Disable hot corner
|
||||||
|
kwinrc = { Effect-overview.BorderActivate = 9; };
|
||||||
};
|
};
|
||||||
input.mice = [{
|
input.mice = [{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -171,6 +174,19 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
powerdevil.AC.autoSuspend.action = "nothing";
|
powerdevil.AC.autoSuspend.action = "nothing";
|
||||||
|
window-rules = [{
|
||||||
|
description = "Firefox picture-in-picture";
|
||||||
|
match = {
|
||||||
|
window-class = {
|
||||||
|
value = "org.mozilla.firefox";
|
||||||
|
type = "exact";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
apply = {
|
||||||
|
above = true;
|
||||||
|
aboverule = 2;
|
||||||
|
};
|
||||||
|
}];
|
||||||
workspace = {
|
workspace = {
|
||||||
lookAndFeel = "org.kde.breezedark.desktop";
|
lookAndFeel = "org.kde.breezedark.desktop";
|
||||||
wallpaperFillMode = "preserveAspectCrop";
|
wallpaperFillMode = "preserveAspectCrop";
|
||||||
|
|
|
||||||
|
|
@ -62,29 +62,6 @@ in {
|
||||||
copy_headers X-Authentik-Username>Remote-User
|
copy_headers X-Authentik-Username>Remote-User
|
||||||
}
|
}
|
||||||
|
|
||||||
# Authentik uses the Authorization header if present, so should be able to
|
|
||||||
# authenticate subsonic clients that support BasicAuth. Requests from the
|
|
||||||
# Navidrome Web App will be authenticated via the existing session cookie.
|
|
||||||
# If you want to have Navidrome authenticate subsonic requests, remove this
|
|
||||||
# forward_auth block.
|
|
||||||
@subsonic path /rest/*
|
|
||||||
forward_auth @subsonic http://127.0.0.1:${authentikPort} {
|
|
||||||
uri /outpost.goauthentik.io/auth/caddy
|
|
||||||
copy_headers X-Authentik-Username>Remote-User
|
|
||||||
|
|
||||||
# Some clients that claim to support basicauth still expect a subsonic
|
|
||||||
# response in case of authentication failure instead of a proper basicauth
|
|
||||||
# response.
|
|
||||||
@error status 1xx 3xx 4xx 5xx
|
|
||||||
handle_response @error {
|
|
||||||
respond <<SUBSONICERR
|
|
||||||
<subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.16.1" type="proxy-auth" serverVersion="n/a" openSubsonic="true">
|
|
||||||
<error code="40" message="Invalid credentials or unsupported client"></error>
|
|
||||||
</subsonic-response>
|
|
||||||
SUBSONICERR 200
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Forward everything to Navidrome
|
# Forward everything to Navidrome
|
||||||
reverse_proxy http://127.0.0.1:${port}
|
reverse_proxy http://127.0.0.1:${port}
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue