This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/home-mandlm.nix

73 lines
1.3 KiB
Nix
Raw Normal View History

2022-06-18 17:48:25 +00:00
{ config, lib, pkgs, user, ...}:
{
home = {
username = "${user}";
homeDirectory = "/home/${user}";
2022-06-18 18:16:46 +00:00
packages = with pkgs; [
bat
2022-06-19 16:42:34 +00:00
firefox
2022-06-18 18:16:46 +00:00
htop
];
2022-06-18 17:48:25 +00:00
stateVersion = "22.05";
};
2022-06-18 18:16:46 +00:00
programs = {
2022-06-20 06:15:45 +00:00
fzf = {
2022-06-19 16:42:34 +00:00
enable = true;
2022-06-20 06:15:45 +00:00
enableZshIntegration = true;
tmux.enableShellIntegration = true;
};
2022-06-20 06:15:18 +00:00
git = {
enable = true;
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
extraConfig = {
core.editor = "nvim";
fetch.writeCommitGraph = true;
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
init.defaultBranch = "main";
log.date = "relative";
pull.rebase = true;
rebase.autostash = true;
rerere.enabled = true;
worktree.guessRemote = true;
};
};
2022-06-20 06:15:45 +00:00
kitty = {
enable = true;
theme = "Solarized Dark";
font = {
name = "DejaVu Sans Mono";
size = 12;
2022-06-19 16:42:34 +00:00
};
};
tmux = {
enable = true;
newSession = true;
extraConfig = ''
set-option -g status off
'';
};
2022-06-18 18:16:46 +00:00
zsh = {
enable = true;
enableSyntaxHighlighting = true;
history.size = 10000;
oh-my-zsh = {
enable = true;
plugins = [ "git" "tmux" "vi-mode" ];
theme = "intheloop";
};
};
home-manager.enable = true;
};
2022-06-18 17:48:25 +00:00
}