Files

11 lines
386 B
Nix

{ inputs, self, ... }: {
flake.homeModules."grey@takamaki" = { config, pkgs, ... }: {
programs.zsh.shellAliases = let
mkConfigCommand = args: "zsh -c 'cd ${config.info.rootPath}; git add .; nh home switch ${args} -b bak'";
in {
apply-config = mkConfigCommand "";
trace-config = mkConfigCommand "-t";
update-config = mkConfigCommand "-u";
};
};
}