nixos/home-manager/modules/tofi.nix
2024-02-29 15:14:18 +01:00

16 lines
347 B
Nix

{ inputs, pkgs, ... }:
{
# Install tofi
home.packages = with pkgs; [
tofi
(writeShellScriptBin "tofi-pass" ''
tofi --hide-input true --prompt-text 'Password: ' --require-match false --hidden-character '.' < /dev/null
'')
];
# Setup my config file
home.file = {
".config/tofi/config".source = ./confs/tofi;
};
}