Something went wrong. Try again.
My NixOS dotfiles
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ ... }:{ home-manager.users."fantomitechno" = { pkgs, config, dotfileFolder, ... }: { home.packages = with pkgs; [ git gitmoji-cli lazygit ];
programs.git = { enable = true; settings = { user = { name = "Simon R. - fantomitechno"; email = "me@fantomitechno.dev"; }; init.defaultBranch = "main"; pull.rebase = true; color.ui = "auto"; push.autoSetupRemote = true; };
includes = [ # hasconfig:remote.*.url:git@... { condition = "gitdir:${config.home.homeDirectory}/Flint/**"; contents = { user = { name = "Simon Renoux"; email = "simon.renoux@flint.si"; }; }; } { condition = "gitdir:${config.home.homeDirectory}/Developpement/Polytech*/**"; contents = { user = { name = "Simon Renoux"; email = "simon.renoux@etu.univ-nantes.fr"; }; }; } ]; };
xdg.configFile."gitmoji-nodejs/config.json".source = config.lib.file.mkOutOfStoreSymlink "${dotfileFolder}/modules/git/gitmoji.json"; };}