diff --git a/config/doom/init.el b/config/doom/init.el index 649610ff..1b629e24 100644 --- a/config/doom/init.el +++ b/config/doom/init.el @@ -190,4 +190,4 @@ :config ;;literate - (default +bindings +smartparens)) + (default +bindings +smartparens)) ; +smartparens diff --git a/config/latex/christex.sty b/config/latex/christex.sty index a4fc9025..cc6dbd5c 100644 --- a/config/latex/christex.sty +++ b/config/latex/christex.sty @@ -19,6 +19,7 @@ % Fonts \RequirePackage{beton} % Concrete text font, good with AMS Euler (sehr gut) +\DeclareFontSeriesDefault[rm]{bf}{sbc} % Concrete fonts have no bold variant \RequirePackage{eulerpx} % Mischung aus euler und newpxmath (sehr gut) \let\openbox\relax \RequirePackage[no-math]{fontspec} diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index e40eeb49..35d9e254 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -53,3 +53,17 @@ qemu-system- -cpu help % discord, flatpak, rich-presence # Enable rich presence for flatpak Discord ln -sf $XDG_RUNTIME_DIR/{app/com.discordapp.Discord,}/discord-ipc-0 + +% find +# Find files under a certain size in the current directory +find . -type f -name "" -size - + +% objdump, disassemble +# Disassemble an object file +objdump -d -S -M intel "" | bat -l nasm +$ file: exa -1 + +% pdftocairo, pdf, svg +# Extract svg figure from pdf page +pdftocairo -f -l -svg "" "" +$ input: exa -1 diff --git a/flake.lock b/flake.lock index d65fcdf5..d504805b 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "adwaita-for-steam": { "flake": false, "locked": { - "lastModified": 1675017089, - "narHash": "sha256-n7N+mnNJSJiIg6h/ZgyEUjdYVnl37T5GoV/qPhzdb+g=", + "lastModified": 1676153978, + "narHash": "sha256-KLWsRLFBS5YeirCWkgpg7JrURun+c7mPDK3fx8VCP8o=", "owner": "tkashkin", "repo": "Adwaita-for-Steam", - "rev": "9492a7c2771799870f4fb14a59b77d39a3ccff31", + "rev": "1004b9ad09eb9227fb546749e8e72b100a907f4d", "type": "github" }, "original": { @@ -22,11 +22,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1675340818, - "narHash": "sha256-GAzTgOvonq4K3CVyyKZGbCnqdLi6nRe78t8ko/mLxL0=", + "lastModified": 1676293499, + "narHash": "sha256-uIOTlTxvrXxpKeTvwBI1JGDGtCxMXE3BI0LFwoQMhiQ=", "owner": "numtide", "repo": "devshell", - "rev": "2e19b92980a79118351ec12496a81c49bd674d8a", + "rev": "71e3022e3ab20bbf1342640547ef5bc14fb43bf4", "type": "github" }, "original": { @@ -41,11 +41,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1675419601, - "narHash": "sha256-Zt6VnU6CLxaISGmPNMGiD0A9BcgcXJTEuX196M11RYw=", + "lastModified": 1676628719, + "narHash": "sha256-yZM1hLxPS3OuKNduQSWmiYLAjIZeJ7ExWbCL3A3bi0U=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "88dcf53013b1f8f0a6a1766fc76ed181e0a6a8db", + "rev": "cd34501a9bcec341533c7131af77572456c100d8", "type": "github" }, "original": { @@ -57,11 +57,11 @@ "firefox-gnome-theme": { "flake": false, "locked": { - "lastModified": 1674844038, - "narHash": "sha256-ecyiIohYZxUriIkGQXZjHYJuHIQt0IfWqn4RF6GIA/Y=", + "lastModified": 1676490486, + "narHash": "sha256-9ymCSOGzJw7dTgMgPFfmveyZlN1eItPj13+JkCxmmqU=", "owner": "rafaelmardojai", "repo": "firefox-gnome-theme", - "rev": "78fb30118a58425a41ead035324c353828200112", + "rev": "e3db36cba1ac9b710713d1b2c6a034e09493a5be", "type": "github" }, "original": { @@ -102,11 +102,11 @@ }, "hardware": { "locked": { - "lastModified": 1674550793, - "narHash": "sha256-ljJlIFQZwtBbzWqWTmmw2O5BFmQf1A/DspwMOQtGXHk=", + "lastModified": 1675933606, + "narHash": "sha256-y427VhPQHOKkYvkc9MMsL/2R7M11rQxzsRdRLM3htx8=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "b7ac0a56029e4f9e6743b9993037a5aaafd57103", + "rev": "44ae00e02e8036a66c08f4decdece7e3bbbefee2", "type": "github" }, "original": { @@ -123,11 +123,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1675371293, - "narHash": "sha256-LrCjtrAXj/WJphhGEMnHgZs7oTsfOlvPfOjFTIvg39k=", + "lastModified": 1676367705, + "narHash": "sha256-un5UbRat9TwruyImtwUGcKF823rCEp4fQxnsaLFL7CM=", "owner": "nix-community", "repo": "home-manager", - "rev": "d1c7730bb707bf8124d997952f7babd2a281ae68", + "rev": "da72e6fc6b7dc0c3f94edbd310aae7cd95c678b5", "type": "github" }, "original": { @@ -141,11 +141,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1673395322, - "narHash": "sha256-Xwaoz3+/+kCu8Przi1W3MWdQcOQ9wLVrr8nfBN6L6wA=", + "lastModified": 1676427677, + "narHash": "sha256-nQWh/7131Sv8QUumUmjFOtz9nP66jp5u74Miv+IuGCw=", "owner": "musnix", "repo": "musnix", - "rev": "46d6e6435edcfa2a4adcfdd95d576979b710f4cb", + "rev": "4c5a96f7dbac330306acf626268556da7c62e744", "type": "github" }, "original": { @@ -207,11 +207,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1667629849, - "narHash": "sha256-P+v+nDOFWicM4wziFK9S/ajF2lc0N2Rg9p6Y35uMoZI=", + "lastModified": 1676300157, + "narHash": "sha256-1HjRzfp6LOLfcj/HJHdVKWAkX9QRAouoh6AjzJiIerU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3bacde6273b09a21a8ccfba15586fb165078fb62", + "rev": "545c7a31e5dedea4a6d372712a18e00ce097d462", "type": "github" }, "original": { @@ -239,11 +239,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1675273418, - "narHash": "sha256-tpYc4TEGvDzh9uRf44QemyQ4TpVuUbxb07b2P99XDbM=", + "lastModified": 1676481215, + "narHash": "sha256-afma/1RU0EePRyrBPcjBdOt+dV8z1bJH9dtpTN/WXmY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4d7c2644dbac9cf8282c0afe68fca8f0f3e7b2db", + "rev": "28319deb5ab05458d9cd5c7d99e1a24ec2e8fc4b", "type": "github" }, "original": { @@ -255,11 +255,11 @@ }, "nur": { "locked": { - "lastModified": 1675429365, - "narHash": "sha256-KXPNBZkCq4EJlQy9IzcpMsGSyusd/DJ90J97PpnnCB0=", + "lastModified": 1676619352, + "narHash": "sha256-a9pQbtOcUYS9boD6+lQqPe0WzME0x8yzZk365w9XGbM=", "owner": "nix-community", "repo": "NUR", - "rev": "50bf97d8b0943d8c58b3881ed7e2467c6556a22f", + "rev": "d2d70316f27384cf53e0f3c6cf2fd73e4744555a", "type": "github" }, "original": { diff --git a/home/christoph/default.nix b/home/christoph/default.nix index 28b00214..535a5642 100644 --- a/home/christoph/default.nix +++ b/home/christoph/default.nix @@ -316,7 +316,7 @@ rec { # Media wacomtablet - blender + # blender godot obs-studio vlc # Addition to mpv without any shaders etc @@ -420,6 +420,7 @@ rec { keychain = { enable = true; enableFishIntegration = config.modules.fish.enable; + enableNushellIntegration = false; enableXsessionIntegration = true; agents = ["ssh"]; keys = ["id_ed25519"]; @@ -453,6 +454,11 @@ rec { enableFishIntegration = config.modules.fish.enable; }; + nushell = { + enable = true; + + }; + # Git status replacement with file selection by number scmpuff = { enable = true; diff --git a/home/christoph/nixinator/default.nix b/home/christoph/nixinator/default.nix index a4c3f2c5..a3e9073c 100644 --- a/home/christoph/nixinator/default.nix +++ b/home/christoph/nixinator/default.nix @@ -46,7 +46,7 @@ rec { bottles.enable = true; discordChromium.enable = true; discordElectron.enable = false; # This is the nixpkgs version, prefer the one from flatpak module - dwarffortress.enable = true; + dwarffortress.enable = false; steam = { enable = true; diff --git a/home/christoph/nixtop/default.nix b/home/christoph/nixtop/default.nix index b197af96..730eab88 100644 --- a/home/christoph/nixtop/default.nix +++ b/home/christoph/nixtop/default.nix @@ -16,18 +16,6 @@ rec { ]; modules = { - audio = { - enable = true; - noisesuppression = { - noisetorch.enable = true; - noisetorch.autostart = true; - }; - }; - # TODO: Validate that this doesn't install too much - gaming = { - enable = true; - discordChromium.enable = true; - }; }; } diff --git a/home/modules/firefox.nix b/home/modules/firefox.nix index 59786a28..055dfde3 100644 --- a/home/modules/firefox.nix +++ b/home/modules/firefox.nix @@ -98,49 +98,6 @@ in { }; }; - extensions = with pkgs.nur.repos.rycee.firefox-addons; [ - amp2html - augmented-steam - betterttv - bypass-paywalls-clean - c-c-search-extension # Press cc in searchbar and profit - clearurls - cookie-autodelete - display-_anchors # Easier linking to specific website parts - don-t-fuck-with-paste - h264ify - keepassxc-browser - localcdn - lovely-forks # Display notable forks on GitHub repos - # octotree # Github on steroids - # plasma-integration # TODO: Only when Plasma is used - privacy-badger - privacy-settings - protondb-for-steam - refined-github - return-youtube-dislikes - search-by-image - single-file - skip-redirect - smart-referer # Limit referer link information - snowflake # Help users from censored countries access the internet - sourcegraph # Code intelligence for GitHub/GitLap for 20+ languages - sponsorblock - steam-database - tab-session-manager - to-deepl - transparent-standalone-image - tree-style-tab - ublacklist - ublock-origin - # umatrix # NOTE: Many pages need manual intervention - unpaywall - view-image - # vimium # NOTE: Shits the bed when site needs general key input outside of text field... - # wappalyzer # Identify web technologies - youtube-shorts-block - ]; - profiles = { default = { id = 0; # 0 is default profile @@ -155,6 +112,49 @@ in { '') ]; + extensions = with pkgs.nur.repos.rycee.firefox-addons; [ + amp2html + augmented-steam + betterttv + bypass-paywalls-clean + c-c-search-extension # Press cc in searchbar and profit + clearurls + cookie-autodelete + display-_anchors # Easier linking to specific website parts + don-t-fuck-with-paste + h264ify + keepassxc-browser + localcdn + lovely-forks # Display notable forks on GitHub repos + # octotree # Github on steroids + # plasma-integration # TODO: Only when Plasma is used + privacy-badger + privacy-settings + protondb-for-steam + refined-github + return-youtube-dislikes + search-by-image + single-file + skip-redirect + smart-referer # Limit referer link information + snowflake # Help users from censored countries access the internet + sourcegraph # Code intelligence for GitHub/GitLap for 20+ languages + sponsorblock + steam-database + tab-session-manager + to-deepl + transparent-standalone-image + tree-style-tab + ublacklist + ublock-origin + # umatrix # NOTE: Many pages need manual intervention + unpaywall + view-image + # vimium # NOTE: Shits the bed when site needs general key input outside of text field... + # wappalyzer # Identify web technologies + youtube-shorts-block + ]; + settings = mkMerge [ (optionalAttrs cfg.vaapi { # Firefox wayland hardware video acceleration diff --git a/home/modules/fish.nix b/home/modules/fish.nix index fdc60ec3..3198d5c4 100644 --- a/home/modules/fish.nix +++ b/home/modules/fish.nix @@ -62,6 +62,9 @@ in { # ssh locations xxhamster = "TERM=ansi ssh christoph@217.160.142.51"; + + # disassemble + disassemble = "objdump -d -S -M intel"; } # Abbrs only available if package is installed diff --git a/home/modules/neovim.nix b/home/modules/neovim.nix index 14244e62..1d5c7d65 100644 --- a/home/modules/neovim.nix +++ b/home/modules/neovim.nix @@ -16,7 +16,7 @@ in { }; config = mkIf cfg.enable { - # TODO: Configure by enabled editor + # TODO: Configure by option home.sessionVariables = { EDITOR = "nvim"; VISUAL = "nvim";