hm: .cache/thumbnails
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}@osConfig:
|
}@osConfig:
|
||||||
|
|
||||||
@@ -59,7 +60,7 @@
|
|||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
backupFileExtension = "bck";
|
backupFileExtension = "bck";
|
||||||
|
|
||||||
users."djai" = { config, ... }: {
|
users."djai" = { lib, config, ... }: {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
xdg.configFile."uwsm/env".source = "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
|
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;
|
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
|
sessionVariables = { # TODO: add rest of .config/uwms/env.bck here
|
||||||
NEWT_COLORS_FILE = "$HOME/.newtColours";
|
NEWT_COLORS_FILE = "$HOME/.newtColours";
|
||||||
BROWSER = "librewolf";
|
BROWSER = "librewolf";
|
||||||
|
|||||||
Reference in New Issue
Block a user