diff --git a/hosts/common/programs/assorted.nix b/hosts/common/programs/assorted.nix index 1952ae412..80f17af35 100644 --- a/hosts/common/programs/assorted.nix +++ b/hosts/common/programs/assorted.nix @@ -66,6 +66,7 @@ in "hdparm" "hping" "htop" + "htpasswd" "iftop" "inetutils" # for telnet "iotop" diff --git a/hosts/common/programs/default.nix b/hosts/common/programs/default.nix index 4954bbbf5..c19b11fb6 100644 --- a/hosts/common/programs/default.nix +++ b/hosts/common/programs/default.nix @@ -101,6 +101,7 @@ ./haredoc.nix ./helix.nix ./htop + ./htpasswd.nix ./iio-sensor-proxy.nix ./imagemagick.nix ./inkscape.nix diff --git a/hosts/common/programs/htpasswd.nix b/hosts/common/programs/htpasswd.nix new file mode 100644 index 000000000..a15dab27d --- /dev/null +++ b/hosts/common/programs/htpasswd.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + sane.programs.htpasswd = { + packageUnwrapped = pkgs.linkBinIntoOwnPackage pkgs.apacheHttpd "htpasswd"; + sandbox.autodetectCliPaths = "existingFileOrParent"; # for -c; creating passwd files + }; +}