From 13ceb5f40cb230f178ac05ca15933fef2e6cc02f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 28 Dec 2025 17:48:33 +0200 Subject: feat(modules)!: Complete reorganisation and renaming of module groups --- modules/server/cli-essential.nix | 21 -------------- modules/server/cli-linux.nix | 59 ++++++++++++++++++++++++++++++++++++++++ modules/server/cli-posix.nix | 10 +++++++ 3 files changed, 69 insertions(+), 21 deletions(-) delete mode 100644 modules/server/cli-essential.nix create mode 100644 modules/server/cli-linux.nix create mode 100644 modules/server/cli-posix.nix (limited to 'modules/server') diff --git a/modules/server/cli-essential.nix b/modules/server/cli-essential.nix deleted file mode 100644 index 3f5c6e7..0000000 --- a/modules/server/cli-essential.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ pkgs, ... }: { - environment.systemPackages = with pkgs; [ - dash htop rlwrap bc - # Hardware - lm_sensors lshw - # Network - curl wget git rsync inetutils netcat - # Files - vim-full nnn - # Archive formats - gnutar p7zip zip unzip rar unrar - ]; - - programs = { - gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryPackage = pkgs.pinentry-tty; - }; - }; -} diff --git a/modules/server/cli-linux.nix b/modules/server/cli-linux.nix new file mode 100644 index 0000000..46c9c04 --- /dev/null +++ b/modules/server/cli-linux.nix @@ -0,0 +1,59 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + bash + git + rlwrap # readline processing in non-readline cli apps + chrony # set system time from the internet + + #== Editor/Player/File manager ==# + nnn + vim-full + moc # music on console + + #== Hardware ==# + lshw + efibootmgr + screenfetch # better neofetch + lm_sensors # provides sensors, sensors-detects, isadump, ... + ddrescue # data recovery tool + usbutils # lsusb, ... + + #== Processes ==# + htop + lsof # lists open files, mostly under /proc + iotop # IO utilisation per process + + #== Network ==# + dnsutils + netcat + curl + ipfetch # neofetch but for your IP + vnstat # network statistics + inetutils # ftp, hostname, ifconfig, ping, telnet, traceroute, rexec, rcp, ... + wget # download http/https/ftp files + rsync # file transfering + + #== HDD/SSD ==# + udisks # access and manipulate storage devices; udisksctl, ... + + #== File systems ==# + parted # partition editor + dosfstools # dosfsck, mkfs.fat, mkfs.dos, ... + ntfs3g # NTFS driver + + #== Archive files ==# + gnutar + p7zip + zip unzip + rar unrar + ]; + + programs = { + mtr.enable = true; + gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryPackage = pkgs.pinentry-tty; + }; + }; +} diff --git a/modules/server/cli-posix.nix b/modules/server/cli-posix.nix new file mode 100644 index 0000000..7a639b3 --- /dev/null +++ b/modules/server/cli-posix.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + # Multi-tool packages + busybox util-linux + # Specific tools + bc dash nawk ed cron tree + # (GNU) software development tools + gcc gnumake flex bison + ]; +} -- cgit v1.3.1-23-gd82d