From f32c3cf872a5fe1eeaab4662fc92e38f03e4da1b Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 13 Sep 2024 19:10:47 +0200 Subject: [PATCH] README: update, add logo --- .github/logo.svg | 207 ++++++++++++++++++ README.org | 2 + parts/pkgs/extraPackages/nushell/default.nix | 29 +++ parts/pkgs/extraPackages/nushell/packages.nix | 49 +++++ 4 files changed, 287 insertions(+) create mode 100644 .github/logo.svg create mode 100644 parts/pkgs/extraPackages/nushell/default.nix create mode 100644 parts/pkgs/extraPackages/nushell/packages.nix diff --git a/.github/logo.svg b/.github/logo.svg new file mode 100644 index 0000000..0eb8a11 --- /dev/null +++ b/.github/logo.svg @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/README.org b/README.org index 54dd36d..e18fe01 100644 --- a/README.org +++ b/README.org @@ -1,3 +1,4 @@ +[[file:.github/logo.svg]] * nichts This is my personal collection of NixOS configuration files, made to be simple to understand and *sane*. ** Goals of this configuraton @@ -20,6 +21,7 @@ GNU GPL3 This configuration was only made possible through the help of some amazing people! Below are all the repositories I took inspiration from, check them out! +The nix logo was designed by jacekpoz, see his works at [[link:https://jacekpoz.pl]] ``` Jacekpoz: https://git.jacekpoz.pl/jacekpoz/niksos.git ! Dragyx: https://github.com/dragyx/nichts diff --git a/parts/pkgs/extraPackages/nushell/default.nix b/parts/pkgs/extraPackages/nushell/default.nix new file mode 100644 index 0000000..27b88d6 --- /dev/null +++ b/parts/pkgs/extraPackages/nushell/default.nix @@ -0,0 +1,29 @@ +{ + inputs, + lib, + pkgs, + ... +}: let + inherit (lib) concatStringsSep mapAttrsToList; + aliases = import ./aliases.nix {inherit pkgs;}; + + aliasesAsString = + concatStringsSep "\n" + (mapAttrsToList (k: v: "alias ${k}=\"${v}\"") aliases); + packages = import ./packages.nix {inherit pkgs;}; + + nushell-wrapped = inputs.wrapper-manager.lib.build { + inherit pkgs; + modules = [ + { + wrappers.nushell-wrapped = { + basePackage = pkgs.nushell; + pathAdd = [ + packages + ]; + }; + } + ]; + }; +in + nushell-wrapped diff --git a/parts/pkgs/extraPackages/nushell/packages.nix b/parts/pkgs/extraPackages/nushell/packages.nix new file mode 100644 index 0000000..976af48 --- /dev/null +++ b/parts/pkgs/extraPackages/nushell/packages.nix @@ -0,0 +1,49 @@ +{pkgs}: (with pkgs; [ + # better cd + zoxide + #better ls + eza + + # better cat + bat + + # better grep + ripgrep + + # better dig + dogdns + + # simply the best fetch tool out there + microfetch + + fzf + + cpc + difftastic + hexyl + gitui + iputils + gnumake + gping + asciinema + inetutils + scc + onefetch + wget + cpufetch + yt-dlp + tealdeer + glow + hyperfine + imagemagick + ffmpeg-full + catimg + nmap + wget + fd + jq + rsync + figlet + unzip + zip +])