diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 18:26:47 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 18:26:47 +0200 |
commit | a5e3d93d4968301529873d05801979d6e4f868de (patch) | |
tree | 28209533b1f00cce31b6fca7854d67c33129942b /modules | |
parent | fix(treewide): Migrate to taskwarrior version 3 (diff) | |
download | nixos-config-a5e3d93d4968301529873d05801979d6e4f868de.zip |
style(treewide): Format
Diffstat (limited to 'modules')
4 files changed, 19 insertions, 20 deletions
diff --git a/modules/by-name/fi/firefox/profile.nix b/modules/by-name/fi/firefox/profile.nix index 7cdf4d90..195c2075 100644 --- a/modules/by-name/fi/firefox/profile.nix +++ b/modules/by-name/fi/firefox/profile.nix @@ -1,4 +1,7 @@ -{config, pkgs}: preConfig: ({ +{ + config, + pkgs, +}: preConfig: ({ userChrome = ./userChrome.css; bookmarks = { diff --git a/modules/by-name/fi/firefox/search_engines/default.nix b/modules/by-name/fi/firefox/search_engines/default.nix index d05a5af8..51a447e1 100644 --- a/modules/by-name/fi/firefox/search_engines/default.nix +++ b/modules/by-name/fi/firefox/search_engines/default.nix @@ -1,6 +1,6 @@ {pkgs, ...}: { # DEFAULT - brave-search= { + brave-search = { name = "Brave Search"; urls = [{template = "https://search.brave.com/search?q={searchTerms}";}]; icon = ./logos/brave.svg; @@ -8,53 +8,53 @@ }; # NIX - nix-packages= { + nix-packages = { name = "Nix packages"; urls = [{template = "https://search.nixos.org/packages?type=packages&query={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@np"]; }; - nix-functions= { + nix-functions = { name = "Nix functions"; urls = [{template = "https://noogle.dev/q?term={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@ng"]; }; - nixos-options= { + nixos-options = { name = "NixOS options"; urls = [{template = "https://search.nixos.org/options?type=options&query={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@no"]; }; - homemanager-options= { + homemanager-options = { name = "Home-Manager options"; urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@nh"]; }; - nixpkgs-issues= { + nixpkgs-issues = { name = "Nixpkgs issues"; urls = [{template = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@ni"]; }; - nixpkgs-pull-requests= { + nixpkgs-pull-requests = { name = "Nixpkgs pull requests"; urls = [{template = "https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+{searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@nr"]; }; - nixpkgs-pull-requests-tracker= { + nixpkgs-pull-requests-tracker = { name = "Nixpkgs pull requests tracker"; urls = [{template = "https://nixpk.gs/pr-tracker.html?pr={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@nt"]; }; - nixos-wiki= { + nixos-wiki = { name = "NixOS Wiki"; urls = [{template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; @@ -62,13 +62,13 @@ }; # RUST - rust-std= { + rust-std = { name = "Rust std"; urls = [{template = "https://doc.rust-lang.org/std/?search={searchTerms}";}]; icon = ./logos/rust_std.svg; definedAliases = ["@rs"]; }; - rust-tokio= { + rust-tokio = { name = "Rust tokio"; urls = [{template = "https://docs.rs/tokio/latest/tokio/index.html?search={searchTerms}";}]; icon = ./logos/rust_tokio.png; @@ -76,19 +76,19 @@ }; # OTHER - google-scholar= { + google-scholar = { name = "Google Scholar"; urls = [{template = "https://scholar.google.com/scholar?hl=en&q={searchTerms}";}]; icon = ./logos/google_scholar.ico; definedAliases = ["@gs"]; }; - wikipedia= { + wikipedia = { name = "Wikipedia"; urls = [{template = "https://en.wikipedia.org/wiki/{searchTerms}";}]; icon = ./logos/wikipedia.svg; definedAliases = ["@wp"]; }; - arch-wiki= { + arch-wiki = { name = "Arch Wiki"; urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}]; icon = ./logos/arch_linux.svg; diff --git a/modules/by-name/lf/lf/commands/scripts/trash_restore.sh b/modules/by-name/lf/lf/commands/scripts/trash_restore.sh index 5a7624db..cc2d4890 100755 --- a/modules/by-name/lf/lf/commands/scripts/trash_restore.sh +++ b/modules/by-name/lf/lf/commands/scripts/trash_restore.sh @@ -13,6 +13,5 @@ while IFS="$(printf '\n')" read -r file; do set -- "$@" "$(pwd)/$file" done <"$(conceal list | fzf --multi --ansi | awk '{$1="";$2=""; print $0}' | sed 's/^\s*//' | tmp)" - [ "$#" -ne 0 ] && trash restore --match=exact "$@" # vim: ft=sh diff --git a/modules/by-name/nv/nvim/plgs/telescope/extensions/bibtex/default.nix b/modules/by-name/nv/nvim/plgs/telescope/extensions/bibtex/default.nix index 4cab0258..8eee9a27 100644 --- a/modules/by-name/nv/nvim/plgs/telescope/extensions/bibtex/default.nix +++ b/modules/by-name/nv/nvim/plgs/telescope/extensions/bibtex/default.nix @@ -1,7 +1,4 @@ -{ - config, - ... -}: let +{config, ...}: let cfg = config.soispha.programs.nvim; in { # TODO: Re-enable this, once the plugin is merged into nixpkgs <2025-03-29> |