49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
name = "Xe";
|
|
email = "me@christine.website";
|
|
commitTemplate = pkgs.writeTextFile {
|
|
name = "cadey-commit-template";
|
|
text = ''
|
|
Signed-off-by: ${name} <${email}>
|
|
'';
|
|
};
|
|
in {
|
|
imports = [ ../../home-manager ./spacemacs ];
|
|
|
|
within = {
|
|
fish.enable = true;
|
|
htop.enable = true;
|
|
neofetch.enable = true;
|
|
powershell.enable = true;
|
|
tmux.enable = true;
|
|
vim.enable = true;
|
|
};
|
|
|
|
services.lorri.enable = true;
|
|
home.packages = with pkgs; [ cachix niv nixfmt mosh gist bind unzip ];
|
|
|
|
programs.direnv.enable = true;
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
programs.git = {
|
|
package = pkgs.gitAndTools.gitFull;
|
|
enable = true;
|
|
userName = name;
|
|
userEmail = email;
|
|
ignores = [ "*~" "*.swp" "*.#" ];
|
|
delta.enable = true;
|
|
extraConfig = {
|
|
commit.template = "${commitTemplate}";
|
|
core.editor = "vim";
|
|
color.ui = "auto";
|
|
credential.helper = "store --file ~/.git-credentials";
|
|
format.signoff = true;
|
|
init.defaultBranch = "main";
|
|
protocol.keybase.allow = "always";
|
|
pull.rebase = "true";
|
|
push.default = "current";
|
|
};
|
|
};
|
|
}
|