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

View File

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

View File

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

View File

@ -113,11 +113,22 @@
"typescript",
"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. */
"[astro]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[beancount]": {
"editor.rulers": [79],
"editor.formatOnSave": true
},
"[html]": {
"editor.wordWrap": "on",
"editor.defaultFormatter": "vscode.html-language-features"
@ -168,7 +179,7 @@
"editor.formatOnSave": true
},
"[typst]": {
"editor.defaultFormatter": "nvarner.typst-lsp",
"editor.defaultFormatter": "myriad-dreamin.tinymist",
"editor.formatOnSave": true
},
"[xml]": {

View File

@ -61,3 +61,12 @@ to-opus () {
ffmpeg -i "$input_file" -c:a libopus -b:a 128K "$output_file"
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
}