mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
replace manual home dir with config option
This commit is contained in:
@ -246,7 +246,7 @@ in {
|
||||
|
||||
# Update lock screen cache only if cache is empty
|
||||
home.activation.updateLockScreenCache =
|
||||
let cacheDir = "/home/${config.user}/.cache/betterlockscreen/current";
|
||||
let cacheDir = "${config.homePath}/.cache/betterlockscreen/current";
|
||||
in config.home-manager.users.${config.user}.lib.dag.entryAfter
|
||||
[ "writeBoundary" ] ''
|
||||
if [ ! -d ${cacheDir} ] || [ -z "$(ls ${cacheDir})" ]; then
|
||||
|
Reference in New Issue
Block a user