2024-03-16 19:03:53 +01:00
|
|
|
{ inputs, pkgs, ... }: {
|
2024-02-29 15:14:18 +01:00
|
|
|
# Install tofi
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
tofi
|
|
|
|
(writeShellScriptBin "tofi-pass" ''
|
2024-03-16 19:03:53 +01:00
|
|
|
tofi --hide-input true --prompt-text 'Password: ' --require-match false --hidden-character '.' < /dev/null
|
2024-02-29 15:14:18 +01:00
|
|
|
'')
|
|
|
|
];
|
|
|
|
|
|
|
|
# Setup my config file
|
2024-03-16 19:03:53 +01:00
|
|
|
home.file = { ".config/tofi/config".source = ./confs/tofi; };
|
2024-02-29 15:14:18 +01:00
|
|
|
}
|