From 54aa251718a30e99ab824b5b5341d499d697e91e Mon Sep 17 00:00:00 2001 From: AsciiMoth Date: Tue, 23 Jan 2024 08:25:57 +0400 Subject: [PATCH] Minor updates --- machines/pcLexell/shell.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/machines/pcLexell/shell.nix b/machines/pcLexell/shell.nix index c48f23c..7c4175a 100644 --- a/machines/pcLexell/shell.nix +++ b/machines/pcLexell/shell.nix @@ -174,7 +174,11 @@ bat $(whereis -b $1 | cut -d ' ' -f 2) -p ''; myexa = pkgs.writeShellScriptBin "exa" '' - ${pkgs.eza}/bin/eza ''${@: 2} + ${pkgs.eza}/bin/eza ''${@: 1} + ''; + unfree = pkgs.writeShellScriptBin "unfree" '' + export NIXPKGS_ALLOW_UNFREE=1 + "''${@: 1}" ''; in { users.defaultUserShell = pkgs.fish; @@ -252,6 +256,7 @@ in { bat # Modern analog of cat ripgrep # Modern analog of grep with some usefull patches ripgrep-all # Some usefull extensions for ripgrep + bat-extras.batgrep #qrencode # Generate & print qr codes in terminal figlet # Print text with ascii fonts xclip # x11 clipboard managment tool @@ -294,5 +299,6 @@ in { printlogo myexa arraydedup + unfree ]; }