hm: sanitize shell service
This commit is contained in:
@@ -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