xlock: Add option

This commit is contained in:
Geoffrey Frogeye 2024-03-09 18:22:30 +01:00
parent c7c2c89f15
commit 14f7199d65
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
6 changed files with 16 additions and 8 deletions

View file

@ -1,5 +1,8 @@
{ pkgs, config, lib, ... }:
{
frogeye.hooks.lock = ''
${pkgs.coreutils}/bin/rm -rf "/tmp/cached_pass_$UID"
'';
programs = {
home-manager.enable = true;
bat = {
@ -205,6 +208,5 @@
"${config.home.homeDirectory}/.config/dotfiles/hm/scripts" # Not Nix path otherwise it gets converted into store,
# and then every time you want to modify a script you have to rebuild and re-login...
];
# TODO Way to automatically setup an home-manager install
};
}