hm: sanitize shell service
This commit is contained in:
@@ -77,10 +77,7 @@
|
||||
"$HOME/Scripts"
|
||||
];
|
||||
|
||||
file = {
|
||||
".config/WMScripts".source = ../scripts/WMScripts;
|
||||
".config/sanitize".source = ../scripts/sanitize;
|
||||
};
|
||||
file.".config/WMScripts".source = ../scripts/WMScripts;
|
||||
|
||||
sessionVariables = { # TODO: add rest of .config/uwms/env.bck here
|
||||
NEWT_COLORS_FILE = "$HOME/.newtColours";
|
||||
|
||||
@@ -23,4 +23,18 @@
|
||||
resurrect
|
||||
];
|
||||
};
|
||||
|
||||
systemd.user.services.sanitize-shell-history = {
|
||||
description = "Sanitizes shell history on unmount of P";
|
||||
bindsTo = [ "run-media-djai-P.mount" ];
|
||||
wantedBy = [ "run-media-djai-P.mount" ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
StandardOutput = "journal";
|
||||
ExecStart = "/home/djai/.config/sanitize/autoSanitize.sh";
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.djai.home.file.".config/sanitize".source = ../../scripts/sanitize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user