about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-14 14:49:49 +0200
committerFlorian Klink <flokli@flokli.de>2023-12-18 13:18:11 +0200
commit276939e0a1a218a8541c6c36a675e166c7131845 (patch)
treeadc6056d4df9a783e941b379b55188ad9cc645a3 /nixos
parentf9991e9de0014bc7e15394ef312fdf3d3112abd6 (diff)
nixos/waagent: move runtime dependencies to systemd service
The udev rules shell out to chmod, cut and readlink, which are available
for udev rules (see https://github.com/NixOS/nixpkgs/pull/274236).
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/azure-agent.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/azure-agent.nix b/nixos/modules/virtualisation/azure-agent.nix
index e712fac17a462..dde5d9a92eb17 100644
--- a/nixos/modules/virtualisation/azure-agent.nix
+++ b/nixos/modules/virtualisation/azure-agent.nix
@@ -245,6 +245,27 @@ in
         pkgs.e2fsprogs
         pkgs.bash
 
+        pkgs.findutils
+        pkgs.gnugrep
+        pkgs.gnused
+        pkgs.iproute2
+        pkgs.iptables
+
+        # for hostname
+        pkgs.nettools
+
+        pkgs.openssh
+        pkgs.openssl
+        pkgs.parted
+
+        # for pidof
+        pkgs.procps
+
+        # for useradd, usermod
+        pkgs.shadow
+
+        pkgs.util-linux # for (u)mount, fdisk, sfdisk, mkswap
+
         # waagent's Microsoft.OSTCExtensions.VMAccessForLinux needs Python 3
         pkgs.python39