Add `dev-commit`, a script based on f00f31c649/env/.local/scripts/dev-commit
that is meant to be a fallback to commit and push any missed changes
that should be kept.
This is not intended to be a substitute for making manual commits and
writing detailed commit messages.
The script uses an environment variable for the list of project
directories, which is set within a Home Manager module that also creates
a systemd service and timer to run the command automatically - similar
to a cron job.
Adding this should prevent occasional issues, such as missing the
firewall configuration for my homelab which was removed accidentally and
stopped my reverse proxies for services such as Jellyfin and Immich from
running.
		
	
			
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			575 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			575 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, prev, ... }:
 | |
| 
 | |
| let
 | |
|   inherit (pkgs) callPackage;
 | |
| 
 | |
|   vimPlugins = callPackage ./vim-plugins { };
 | |
| in
 | |
| {
 | |
|   backup-websites = callPackage ./backup-websites.nix { };
 | |
|   build-glove80 = callPackage ./build-glove80.nix { };
 | |
|   dev-commit = callPackage ./dev-commit.nix { };
 | |
|   displayselect = callPackage ./displayselect { };
 | |
|   notes = callPackage ./notes { };
 | |
|   passmenu-otp = callPackage ./passmenu-otp.nix { };
 | |
|   tmux-sessionizer = callPackage ./tmux-sessionizer { };
 | |
|   upload-to-files = callPackage ./upload-to-files.nix { };
 | |
| 
 | |
|   vimPlugins = prev.vimPlugins // vimPlugins;
 | |
| }
 |