From ea43e1479269314cc8312a39a2c2263e0b43e916 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 11 Sep 2022 01:02:30 +0200 Subject: [PATCH] Add often used tools to environment I often find myself running them inside a nix shell. Having them available in the environment makes using them easier and also is possible when no internet connection is available, which is especially useful for tools like wl-mirror. --- modules/tools.nix | 1 + users/simon/modules/programs.nix | 6 ++++++ users/simon/modules/sway/default.nix | 1 + 3 files changed, 8 insertions(+) diff --git a/modules/tools.nix b/modules/tools.nix index 5f74f0a..0a3fbc5 100644 --- a/modules/tools.nix +++ b/modules/tools.nix @@ -24,6 +24,7 @@ dos2unix # convert CRLF (dos) or CR (classic mac) line endings to LF (unix) file # file type ncdu # interactive du + pipe-rename # interactive (in editor) renaming rename # sed for filenames sqlite-interactive # cli for sqlite databses wget # download tool diff --git a/users/simon/modules/programs.nix b/users/simon/modules/programs.nix index ee09b98..2c5b38b 100644 --- a/users/simon/modules/programs.nix +++ b/users/simon/modules/programs.nix @@ -58,6 +58,7 @@ in # network tools dnsutils # dig dogdns # better dig + miniserve # small http server sshfs # mount remote host vnstat # client for vnstatd whois # whois client @@ -179,6 +180,10 @@ in wev # wayland event monitor wl-clipboard # not really gui, but cli tool to manage wayland clipboard xfce.thunar # graphical file manager + ] ++ lib.optionals (nixosConfig.sbruder.full) [ + # tools + gdb # debugger (for coredumpctl debug) + gdrive # cli downloader for google drive ] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.sbruder.full) [ # communication ungoogled-chromium # useful for exporting pages as pdf @@ -190,6 +195,7 @@ in # audio audacity # audio editor + easyeffects # signal processing for pipewire picard # musicbrainz tagger # office diff --git a/users/simon/modules/sway/default.nix b/users/simon/modules/sway/default.nix index 0d9f966..8dc02a2 100644 --- a/users/simon/modules/sway/default.nix +++ b/users/simon/modules/sway/default.nix @@ -356,5 +356,6 @@ in sway-contrib.grimshot # screenshots waypipe # forward application over ssh wdisplays # graphical output manager + wl-mirror # emulation for “mirror display” mode ]; })