ADD: HomeManager conf files

alacritty
Alexandre LUCAZEAU 2021-12-16 14:09:26 +01:00
parent d738205f0d
commit 7c8f61240d
3 changed files with 65 additions and 0 deletions

35
nixpkgs/git.nix Normal file
View File

@ -0,0 +1,35 @@
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userEmail = "alexandre@dri.fr";
userName = "Alexandre LUCAZEAU";
aliases = {
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi";
};
extraConfig = {
"color" = {
"ui" = true;
};
"init" = {
defaultBranch = "main";
};
"color \"diff-highlight\"" = {
oldNormal = "red bold";
oldHighlight = "red bold 52";
newNormal = "green bold";
newHighlight = "green bold 22";
};
"color \"diff\"" = {
meta = 11;
frag = "magenta bold";
commit = "yellow bold";
old = "red bold";
new = "green bold";
whitespace = "red reverse";
};
};
#signing.key = "GPG-KEY-ID";
#signing.signByDefault = true;
};
}

10
nixpkgs/home.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }: {
imports = [
./packages.nix
./git.nix
];
home.keyboard = {
layout = "fr";
variant = "bepo";
};
}

20
nixpkgs/packages.nix Normal file
View File

@ -0,0 +1,20 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
thunderbird
vim
jq
nextcloud-client
libreoffice
htop
neomutt
alacritty
notmuch
#isync
zathura
rofi
pdfarranger
simple-scan
brightnessctl
chromium
];
}