diff options
author | Linnnus <[email protected]> | 2025-01-05 17:09:45 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-01-18 12:28:36 +0100 |
commit | 17820671918d04914b19de288631ebeb748d57cb (patch) | |
tree | c9d577930290589ef474f80b93644b222a89024e /hosts/muhammed/extra-utils.nix | |
parent | 3214bedc3040f49690ac61979ac02f2a91d4d694 (diff) |
hosts/muhammed: Add xkcdpass (again)
This was originally done in 2995fc5 but got lost in refactoring.
Diffstat (limited to 'hosts/muhammed/extra-utils.nix')
-rw-r--r-- | hosts/muhammed/extra-utils.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/muhammed/extra-utils.nix b/hosts/muhammed/extra-utils.nix new file mode 100644 index 0000000..5cdd11c --- /dev/null +++ b/hosts/muhammed/extra-utils.nix @@ -0,0 +1,15 @@ +# This HM module adds extra utilities specific to this host. +{pkgs, ...}: let + # Set some default options + xkcdpass' = pkgs.writeShellScriptBin "xkcdpass" '' + ${pkgs.xkcdpass}/bin/xkcdpass --delimiter="" --case capitalize --numwords=5 "$@" + ''; +in { + home.packages = with pkgs; [ + imagemagick + ffmpeg_6-full + + # Generating passwords + xkcdpass' + ]; +} |