ioc.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
INDICATORS OF COMPROMISE (IOC) InfoSec Community within the Fediverse. Newbies, experts, gurus - Everyone is Welcome! Instance is supposed to be fast and secure.

Administered by:

Server stats:

1.6K
active users

#homemanager

6 posts5 participants1 post today

So, for various reasons (professional verses personal), I don't set my global user name or email in Git. Instead, I have NixOS and Home Manager set up to give me a git command:

  home-manager.users.dmoonfire =
    { pkgs, config, ... }:
    {
      home.packages = [
        (pkgs.writeShellScriptBin "git-moonfire" ''
          git config user.name "D. Moonfire"
          git config user.email "contact@moonfire.us"
          git config core.sshCommand 'ssh -i ~/.ssh/moonfire-rsa'
        '')
    };

That way, I can easily call this with:

git clone https://some...path/
git moonfire
git commit -am 'feat: everything is awesome'

Many years I have tried building systems that allow me to declare&deploy #Thunar custom actions (context menu entries) - something they aren't really designed for.

From merging complex templates into the user config (1,2&image) to diving deeper with an entire #Python plugin system (3) I think the best solution is now #nix/ #homeManager 🏠. Here (4) is my current approach.

(4) gitlab.com/nobodyinperson/nixc
(1) forum.xfce.org/viewtopic.php?i
(2) gitlab.com/nobodyinperson/thun
(3) gitlab.com/nobodyinperson/thun