move the git config into a common file
This commit is contained in:
parent
0701773027
commit
3404337eb2
|
@ -37,7 +37,5 @@
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# raw files
|
|
||||||
home.file.".config/git/hooks".source = ./common/git/hooks;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
{config, pkgs, ...}:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./common.nix
|
|
||||||
];
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "Andreas Zweili";
|
|
||||||
userEmail = "zweili@contria.com";
|
|
||||||
delta = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
navigate = true;
|
|
||||||
line-numbers = true;
|
|
||||||
syntax-theme = "GitHub";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home.shellAliases = {
|
|
||||||
management-server = "mosh --ssh=\"ssh -p 22\" localadmin@10.40.0.53 tmux a";
|
|
||||||
};
|
|
||||||
# raw config files
|
|
||||||
home.file.".bashrc".source = ./work_config/bashrc;
|
|
||||||
}
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
{config, pkgs, ...}:
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Andreas Zweili";
|
||||||
|
delta = {
|
||||||
|
enable = true;
|
||||||
|
options = {
|
||||||
|
navigate = true;
|
||||||
|
line-numbers = true;
|
||||||
|
syntax-theme = "GitHub";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# raw files
|
||||||
|
home.file.".config/git/hooks".source = ./hooks;
|
||||||
|
}
|
|
@ -1,7 +1,8 @@
|
||||||
{config, pkgs, ...}:
|
{config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
|
./common/git/git.nix
|
||||||
];
|
];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -12,19 +13,8 @@
|
||||||
vscode
|
vscode
|
||||||
youtube-dl
|
youtube-dl
|
||||||
];
|
];
|
||||||
programs.git = {
|
programs.git.userEmail = "andreas@zweili.ch";
|
||||||
enable = true;
|
|
||||||
userName = "Andreas Zweili";
|
|
||||||
userEmail = "andreas@zweili.ch";
|
|
||||||
delta = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
navigate = true;
|
|
||||||
line-numbers = true;
|
|
||||||
syntax-theme = "GitHub";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# raw config files
|
# raw config files
|
||||||
home.file.".config/qtile".source = ./desktop/qtile;
|
home.file.".config/qtile".source = ./desktop/qtile;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
{config, pkgs, ...}:
|
{config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./personal-desktop.nix
|
./common.nix
|
||||||
|
./common/git/git.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.git.userEmail = "andreas@zweili.ch";
|
||||||
|
|
||||||
#programs.bash.enable = true;
|
#programs.bash.enable = true;
|
||||||
targets.genericLinux.enable = true;
|
targets.genericLinux.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,11 @@
|
||||||
{config, pkgs, ...}:
|
{config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
|
./common/git/git.nix
|
||||||
];
|
];
|
||||||
programs.git = {
|
programs.git.userEmail = "zweili@contria.com";
|
||||||
enable = true;
|
|
||||||
userName = "Andreas Zweili";
|
|
||||||
userEmail = "zweili@contria.com";
|
|
||||||
delta = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
navigate = true;
|
|
||||||
line-numbers = true;
|
|
||||||
syntax-theme = "GitHub";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
management-server = "mosh --ssh=\"ssh -p 22\" localadmin@10.40.0.53 tmux a";
|
management-server = "mosh --ssh=\"ssh -p 22\" localadmin@10.40.0.53 tmux a";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue