hm: .cache/thumbnails
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}@osConfig:
|
||||
|
||||
@@ -59,7 +60,7 @@
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
backupFileExtension = "bck";
|
||||
|
||||
users."djai" = { config, ... }: {
|
||||
users."djai" = { lib, config, ... }: {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
xdg.configFile."uwsm/env".source = "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
|
||||
@@ -79,6 +80,12 @@
|
||||
|
||||
file.".config/WMScripts".source = ../scripts/WMScripts;
|
||||
|
||||
activation.thumbnailsTmpfs = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
mkdir -p /tmp/thumbnails-$USER
|
||||
rm -rf "$HOME/.cache/thumbnails"
|
||||
ln -sf /tmp/thumbnails-$USER "$HOME/.cache/thumbnails"
|
||||
'';
|
||||
|
||||
sessionVariables = { # TODO: add rest of .config/uwms/env.bck here
|
||||
NEWT_COLORS_FILE = "$HOME/.newtColours";
|
||||
BROWSER = "librewolf";
|
||||
|
||||
Reference in New Issue
Block a user