Summary Files Commits Branches @commit @diff @stats
path: root / modules / server
diff options
context:
space:
mode:
Commit13ceb5f40cb230f178ac05ca15933fef2e6cc02f (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-12-28 17:48:33 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-12-28 17:58:08 +0200
Files5e1dce541ead9d0e8a93505a968c74f81a8822c2 /modules/server
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar.gz
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.zip
Parent56facfa7f5de72f15f409f8d7d5ad522317ef555 (diff)
feat(modules)!: Complete reorganisation and renaming of module groups
3 files changed, 69 insertions, 21 deletions
-rw-r--r--modules/server/cli-essential.nix21
-rw-r--r--modules/server/cli-linux.nix59
-rw-r--r--modules/server/cli-posix.nix10
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
+ ];
+}