1
Fork 0

Compare commits

..

4 Commits

Author SHA1 Message Date
Bauke 39ac2b5f49
Add a to-mp3 function. 2024-08-10 12:17:38 +02:00
Bauke 8fdeb6dc1a
Update VSCode settings. 2024-08-10 12:16:52 +02:00
Bauke 719b6865fc
Enable Flatpak. 2024-08-10 12:16:05 +02:00
Bauke 7bfcc1be0c
Add various packages. 2024-08-10 12:15:51 +02:00
5 changed files with 49 additions and 9 deletions

View File

@ -1,19 +1,25 @@
arrterian.nix-env-selector arrterian.nix-env-selector
astro-build.astro-vscode astro-build.astro-vscode
bierner.markdown-mermaid
bpruitt-goddard.mermaid-markdown-syntax-highlighting
brunnerh.insert-unicode brunnerh.insert-unicode
Catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc
Catppuccin.catppuccin-vsc-icons catppuccin.catppuccin-vsc-icons
denoland.vscode-deno denoland.vscode-deno
dongfg.vscode-beancount-formatter
eamodio.gitlens eamodio.gitlens
EdwinKofler.vscode-assorted-languages edwinkofler.vscode-assorted-languages
jnoortheen.nix-ide jnoortheen.nix-ide
jock.svg jock.svg
lencerf.beancount
mechatroner.rainbow-csv
mkhl.direnv mkhl.direnv
myriad-dreamin.tinymist
nvarner.typst-lsp nvarner.typst-lsp
oven.bun-vscode oven.bun-vscode
ozaki.markdown-github-dark ozaki.markdown-github-dark
pinage404.nix-extension-pack pinage404.nix-extension-pack
ritwickdey.LiveServer ritwickdey.liveserver
rust-lang.rust-analyzer rust-lang.rust-analyzer
samverschueren.linter-xo samverschueren.linter-xo
serayuzgur.crates serayuzgur.crates

View File

@ -12,6 +12,7 @@
ardour ardour
autorestic autorestic
bat bat
beancount
bento4 bento4
# bespokesynth # bespokesynth
bolliedelayxt-lv2 bolliedelayxt-lv2
@ -32,13 +33,16 @@
dig dig
direnv direnv
distrho distrho
dragonfly-reverb
du-dust du-dust
dupeguru dupeguru
eclipses.eclipse-java eclipses.eclipse-java
eid-mw
element-desktop element-desktop
ensemble-chorus ensemble-chorus
eq10q eq10q
eza eza
fava
fd fd
ffmpeg ffmpeg
fire fire
@ -58,6 +62,7 @@
helm helm
hexyl hexyl
hydrogen hydrogen
hybridreverb2
ifuse ifuse
imagemagick imagemagick
jq jq
@ -87,6 +92,7 @@
nodePackages.pnpm nodePackages.pnpm
numlockx numlockx
nvitop nvitop
obsidian
odin2 odin2
openrazer-daemon openrazer-daemon
osu-lazer osu-lazer
@ -112,12 +118,12 @@
resvg resvg
ripgrep ripgrep
rkrlv2 rkrlv2
rnix-lsp # rnix-lsp
rofi rofi
sorcer sorcer
sqlite-interactive sqlite-interactive
sqlitebrowser sqlitebrowser
standardnotes unstable.standardnotes
starship starship
steam steam
string-machine string-machine
@ -132,12 +138,15 @@
tunefish tunefish
typst typst
typst-lsp typst-lsp
typstyle
unstable.atuin unstable.atuin
unstable.turbo unstable.turbo
unifi8
vagrant vagrant
vital vital
vscodium.fhs vscodium.fhs
watchexec watchexec
wine
wolf-shaper wolf-shaper
x42-plugins x42-plugins
xarchiver xarchiver
@ -148,10 +157,11 @@
xfce.xfce4-timer-plugin xfce.xfce4-timer-plugin
xfce.xfce4-whiskermenu-plugin xfce.xfce4-whiskermenu-plugin
xorg.libXcursor xorg.libXcursor
xournalpp
zam-plugins zam-plugins
zynaddsubfx zynaddsubfx
(callPackage ./samrewritten.nix { }) # (callPackage ./samrewritten.nix { })
(bespokesynth.overrideAttrs (old: { (bespokesynth-with-vst2.overrideAttrs (old: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BespokeSynth"; owner = "BespokeSynth";
repo = "BespokeSynth"; repo = "BespokeSynth";

View File

@ -38,6 +38,10 @@
nssmdns = true; nssmdns = true;
}; };
flatpak = {
enable = true;
};
pipewire = { pipewire = {
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;

View File

@ -113,11 +113,22 @@
"typescript", "typescript",
"typescriptreact" "typescriptreact"
], ],
// Tinymist Typst (ID: myriad-dreamin.tinymist)
"tinymist.formatterMode": "typstyle",
"tinymist.exportPdf": "never",
// Beancount (ID: Lencerf.beancount)
"beancount.runFavaOnActivate": true,
// Beancount Formatter (ID: dongfg.vscode-beancount-formatter)
"beancountFormatter.currencyColumn": 80,
/* Language-specific overrides. */ /* Language-specific overrides. */
"[astro]": { "[astro]": {
"editor.defaultFormatter": "samverschueren.linter-xo", "editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"[beancount]": {
"editor.rulers": [79],
"editor.formatOnSave": true
},
"[html]": { "[html]": {
"editor.wordWrap": "on", "editor.wordWrap": "on",
"editor.defaultFormatter": "vscode.html-language-features" "editor.defaultFormatter": "vscode.html-language-features"
@ -168,7 +179,7 @@
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"[typst]": { "[typst]": {
"editor.defaultFormatter": "nvarner.typst-lsp", "editor.defaultFormatter": "myriad-dreamin.tinymist",
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"[xml]": { "[xml]": {

View File

@ -61,3 +61,12 @@ to-opus () {
ffmpeg -i "$input_file" -c:a libopus -b:a 128K "$output_file" ffmpeg -i "$input_file" -c:a libopus -b:a 128K "$output_file"
done done
} }
# Converts any given files to 128K MP3 using ffmpeg.
# to-mp3 <file ...>
to-mp3 () {
for input_file in "$@"; do
output_file="${input_file%.*}.mp3"
ffmpeg -i "$input_file" -map_metadata 0:s:a:0 -b:a 128K -y "$output_file"
done
}