diff options
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 106 |
1 files changed, 56 insertions, 50 deletions
| @@ -38,26 +38,29 @@ let | |||
| 38 | extraPkgs = pkgs: [ pkgs.icu ]; | 38 | extraPkgs = pkgs: [ pkgs.icu ]; |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | my-texlive = with pkgs; texlive.withPackages (texlivePackages: with texlivePackages; [ | 41 | my-texlive = |
| 42 | # A minimal base scheme and a common build tool | 42 | with pkgs; |
| 43 | scheme-small | 43 | texlive.withPackages ( |
| 44 | latexmk | 44 | texlivePackages: with texlivePackages; [ |
| 45 | 45 | # A minimal base scheme and a common build tool | |
| 46 | # Packages from your research paper's preamble | 46 | scheme-small |
| 47 | amsmath | 47 | latexmk |
| 48 | graphicx | 48 | |
| 49 | siunitx | 49 | # Packages from your research paper's preamble |
| 50 | booktabs | 50 | amsmath |
| 51 | algorithm2e | 51 | siunitx |
| 52 | caption | 52 | booktabs |
| 53 | pslatex | 53 | algorithm2e |
| 54 | ec | 54 | caption |
| 55 | microtype | 55 | pslatex |
| 56 | cite | 56 | ec |
| 57 | url | 57 | microtype |
| 58 | xcolor | 58 | cite |
| 59 | hyperref | 59 | url |
| 60 | ]); | 60 | xcolor |
| 61 | hyperref | ||
| 62 | ] | ||
| 63 | ); | ||
| 61 | 64 | ||
| 62 | in | 65 | in |
| 63 | { | 66 | { |
| @@ -99,6 +102,7 @@ in | |||
| 99 | #unzip | 102 | #unzip |
| 100 | #p7zip | 103 | #p7zip |
| 101 | ripgrep | 104 | ripgrep |
| 105 | nixfmt-rfc-style | ||
| 102 | 106 | ||
| 103 | # X and desktop-related | 107 | # X and desktop-related |
| 104 | scrot | 108 | scrot |
| @@ -390,20 +394,20 @@ in | |||
| 390 | 394 | ||
| 391 | mpv = { | 395 | mpv = { |
| 392 | enable = true; | 396 | enable = true; |
| 393 | package = pkgs.mpv.override { | 397 | # package = pkgs.mpv.override { |
| 394 | archiveSupport = false; | 398 | # archiveSupport = false; |
| 395 | bluraySupport = false; | 399 | # bluraySupport = false; |
| 396 | bs2bSupport = false; | 400 | # bs2bSupport = false; |
| 397 | cacaSupport = false; | 401 | # cacaSupport = false; |
| 398 | cmsSupport = false; | 402 | # cmsSupport = false; |
| 399 | dvdnavSupport = false; | 403 | # dvdnavSupport = false; |
| 400 | javascriptSupport = false; | 404 | # javascriptSupport = false; |
| 401 | pipewireSupport = true; | 405 | # pipewireSupport = true; |
| 402 | pulseSupport = false; | 406 | # pulseSupport = false; |
| 403 | rubberbandSupport = false; | 407 | # rubberbandSupport = false; |
| 404 | waylandSupport = false; | 408 | # waylandSupport = false; |
| 405 | zimgSupport = false; | 409 | # zimgSupport = false; |
| 406 | }; | 410 | # }; |
| 407 | 411 | ||
| 408 | bindings = { | 412 | bindings = { |
| 409 | # I wish there was a more elegant way of setting Anime4K | 413 | # I wish there was a more elegant way of setting Anime4K |
| @@ -441,17 +445,18 @@ in | |||
| 441 | }; | 445 | }; |
| 442 | hooks = { | 446 | hooks = { |
| 443 | postNew = '' | 447 | postNew = '' |
| 444 | notmuch tag +13f0 -- tag:unread and to:"*@13f0.net" | 448 | notmuch tag +13f0 -- tag:unread and to:"*@13f0.net" |
| 445 | notmuch tag +vineetk -- tag:unread and to:"*@vineetk.net" | 449 | notmuch tag +vineetk -- tag:unread and to:"*@vineetk.net" |
| 446 | notmuch tag +university -- tag:unread and to:"*@floridapoly.edu" | 450 | notmuch tag +university -- tag:unread and to:vsureshkumar3892@floridapoly.edu |
| 447 | notmuch tag +openbsd_announce -inbox -- tag:unread and to:announce@openbsd.org | 451 | notmuch tag +openbsd_announce -inbox -- tag:unread and to:announce@openbsd.org |
| 448 | notmuch tag +openbsd_arm -inbox -- tag:unread and to:arm@openbsd.org | 452 | notmuch tag +openbsd_arm -inbox -- tag:unread and to:arm@openbsd.org |
| 449 | notmuch tag +openbsd_misc -inbox -- tag:unread and to:misc@openbsd.org | 453 | notmuch tag +gameoftrees -inbox -- tag:unread and to:gameoftrees@openbsd.org |
| 450 | notmuch tag +openbsd_ports -inbox -- tag:unread and to:ports@openbsd.org | 454 | notmuch tag +openbsd_misc -inbox -- tag:unread and to:misc@openbsd.org |
| 451 | notmuch tag +openbsd_tech -inbox -- tag:unread and to:tech@openbsd.org | 455 | notmuch tag +openbsd_ports -inbox -- tag:unread and to:ports@openbsd.org |
| 452 | notmuch tag +opensmtpd_misc -inbox -- tag:unread and to:misc@opensmtpd.org | 456 | notmuch tag +openbsd_tech -inbox -- tag:unread and to:tech@openbsd.org |
| 453 | notmuch tag +oss_security -inbox -- tag:unread and to:oss-security@lists.openwall.com | 457 | notmuch tag +opensmtpd_misc -inbox -- tag:unread and to:misc@opensmtpd.org |
| 454 | notmuch tag +tuhs -inbox -- tag:unread and to:tuhs@tuhs.org | 458 | notmuch tag +oss_security -inbox -- tag:unread and to:oss-security@lists.openwall.com |
| 459 | notmuch tag +tuhs -inbox -- tag:unread and to:tuhs@tuhs.org | ||
| 455 | ''; | 460 | ''; |
| 456 | preNew = "mbsync -a"; | 461 | preNew = "mbsync -a"; |
| 457 | }; | 462 | }; |
| @@ -573,14 +578,15 @@ in | |||
| 573 | yt-dlp = { | 578 | yt-dlp = { |
| 574 | enable = true; | 579 | enable = true; |
| 575 | settings = { | 580 | settings = { |
| 576 | merge-output-format = "mkv"; | 581 | format-sort = "res:1440,vcodec:vp9,acodec:opus"; |
| 577 | embed-subs = true; | ||
| 578 | embed-metadata = true; | 582 | embed-metadata = true; |
| 583 | embed-subs = true; | ||
| 579 | embed-thumbnail = true; | 584 | embed-thumbnail = true; |
| 585 | merge-output-format = "mkv"; | ||
| 580 | sub-langs = "en,-livechat"; | 586 | sub-langs = "en,-livechat"; |
| 581 | format = "bestvideo[height<=?1440]+bestaudio/best"; | 587 | no-windows-filenames = true; |
| 582 | downloader = "aria2c"; | 588 | sponsorblock-remove = "sponsor,selfpromo,music_offtopic,-filler,-preview"; |
| 583 | downloader-args = "aria2c:'-c -x8 -s8 -k1M'"; | 589 | sponsorblock-mark = "filler,preview,intro,outro"; |
| 584 | }; | 590 | }; |
| 585 | }; | 591 | }; |
| 586 | 592 | ||
