From 33bbf715b51952686bf2a4417d21cbf19dd83923 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Sat, 7 Feb 2026 15:30:09 -0500 Subject: [PATCH] Add lsof --- modules/hosts/nixos/default.nix | 1 + .../nixos/nixnuc/hardware-configuration.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/modules/hosts/nixos/default.nix b/modules/hosts/nixos/default.nix index 1b8b705..cef3366 100644 --- a/modules/hosts/nixos/default.nix +++ b/modules/hosts/nixos/default.nix @@ -12,6 +12,7 @@ iftop inetutils iotop + lsof mosquitto net-tools neofetch diff --git a/modules/hosts/nixos/nixnuc/hardware-configuration.nix b/modules/hosts/nixos/nixnuc/hardware-configuration.nix index 17b0c38..c4d326f 100644 --- a/modules/hosts/nixos/nixnuc/hardware-configuration.nix +++ b/modules/hosts/nixos/nixnuc/hardware-configuration.nix @@ -28,6 +28,22 @@ fsType = "zfs"; }; + fileSystems."/var/lib/postgresql" = + { device = "orico/postgresql-data"; + fsType = "zfs"; + }; + + fileSystems."/var/lib/postgresql/16/pg_wal" = + { device = "orico/postgresql-wal-16"; + fsType = "zfs"; + }; + + # Second disk inside case + #fileSystems."/var/lib/postgresql" = + # { device = "/dev/disk/by-uuid/7351c15f-1b9f-4e12-853b-ebf5cc425530"; + # fsType = "ext4"; + # }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking