Compare commits

...

6 Commits

5 changed files with 18 additions and 9 deletions

View File

@@ -41,7 +41,7 @@
swapDevices = [
{
device = "/.swapfile";
size = 4 * 1024;
size = 24 * 1024;
}
];

View File

@@ -98,9 +98,8 @@
:desc "File Symbols" "c s" #'consult-lsp-file-symbols
:desc "All Symbols" "c S" #'consult-lsp-symbols)
(use-package! direnv
:config
(direnv-mode))
(use-package envrc
:hook (after-init . envrc-global-mode))
(after! markdown-mode
(setq markdown-split-window-direction 'right)

View File

@@ -76,7 +76,13 @@
:branch "fix-polymode-compatibility")
:pin "2ff01b4adbb6302798fc84464d1e420e337113fd")
(package! direnv)
(package! envrc
:recipe (:host github
:repo "Grimpper/envrc"
:branch "support-async-execution"
)
:pin "71f67971bc5eb2974ae2f738512c8f09f0822527")
(package! pdf-tools)
(package! eww)
(package! pandoc-mode)

View File

@@ -35,7 +35,7 @@ in {
type = lib.types.bool;
default = false;
description = ''
Enable Darktable for raw processing.
Enable raw processing programs.
'';
};
video-editing-light = lib.mkOption {
@@ -71,16 +71,18 @@ in {
hugin
rawtherapee
unstable.darktable
unstable.rapidraw
]
++ lib.optionals cfg.video-editing-light [
ffmpeg
losslesscut-bin
avidemux-wayland-fix
ffmpeg
hive.bulk-transcode
losslesscut-bin
]
++ lib.optionals cfg.video-editing-heavy [
davinci-resolve
hive.bulk-transcode
kdePackages.kdenlive
obs-studio
]
++ lib.optional cfg.daws bitwig-studio-latest;
};

View File

@@ -3,6 +3,7 @@
declare -rA presets=(
[davinci-resolve]="-c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a pcm_s16le"
[instagram]="-vf scale='if(gte(iw/ih,1),1920,-1)':'if(gte(iw/ih,1),-1,1920)':flags=lanczos -r 30 -c:v libx264 -profile:v high -level 4.1 -pix_fmt yuv420p -preset slow -crf 18 -bf 2 -g 15 -keyint_min 15 -x264-params \"open-gop=0:cabac=1:b-pyramid=none\" -movflags +faststart -c:a aac -b:a 96k"
[insta-4k]="-r 30 -c:v libx264 -profile:v high -level 4.1 -pix_fmt yuv420p -preset slow -crf 18 -bf 2 -g 15 -keyint_min 15 -x264-params \"open-gop=0:cabac=1:b-pyramid=none\" -movflags +faststart -c:a aac -b:a 96k"
[storage-hevc]="-c:v libx265 -preset slower -crf 18 -pix_fmt yuv420p10le -x265-params aq-mode=3:aq-strength=1.0:psy-rd=1.8:psy-rdoq=1.0 -c:a copy"
[storage-av1]="-c:v libsvtav1 -preset 6 -crf 28 -pix_fmt yuv420p -g 240 -svtav1-params tune=0:aq-mode=2 -c:a copy"
[storage-av1-1080p]="-vf scale='if(gte(iw/ih,1),1920,-1)':'if(gte(iw/ih,1),-1,1920)' -c:v libsvtav1 -preset 6 -crf 28 -pix_fmt yuv420p -g 240 -svtav1-params tune=0:aq-mode=2 -c:a copy"
@@ -15,6 +16,7 @@ declare -rA presets=(
declare -rA containers=(
[davinci-resolve]="mov"
[instagram]="mp4"
[insta-4k]="mp4"
[storage-hevc]="mkv"
[storage-av1]="mkv"
[storage-av1-1080p]="mkv"