feat: add ~/.local/bin support for user scripts
Configure PATH and backup strategy for non-declarative user scripts. - Add ~/.local/bin to sessionPath in global home-manager config - Include ~/.local/bin in onsite borgbackup (hourly to viridian) - Include ~/.local/bin in offsite borgbackup (daily to borgbase)
This commit is contained in:
parent
571c034691
commit
d9079d778f
3 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,9 @@
|
|||
sessionVariables = {
|
||||
EDITOR = "nvim"; # Default text editor for CLI operations
|
||||
};
|
||||
sessionPath = [
|
||||
"$HOME/.local/bin" # User scripts and executables
|
||||
];
|
||||
};
|
||||
|
||||
# Automatically restart systemd user services on configuration changes
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
# Dotfiles (critical user configuration)
|
||||
"/btrfs-subvolumes/hm-sajenim/.ssh"
|
||||
"/btrfs-subvolumes/hm-sajenim/.gnupg"
|
||||
"/btrfs-subvolumes/hm-sajenim/.local/bin"
|
||||
|
||||
# Persistent files (actual storage location)
|
||||
"/persist/etc/machine-id"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ in {
|
|||
# Dotfiles (critical user configuration)
|
||||
"/btrfs-subvolumes/hm-sajenim/.ssh"
|
||||
"/btrfs-subvolumes/hm-sajenim/.gnupg"
|
||||
"/btrfs-subvolumes/hm-sajenim/.local/bin"
|
||||
|
||||
# Persistent files (actual storage location)
|
||||
"/persist/etc/machine-id"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue