Compare commits
4 Commits
a112e80baa
...
6c135e9c4e
Author | SHA1 | Date | |
---|---|---|---|
6c135e9c4e
|
|||
7fc2bf7b80
|
|||
d310ab19d3
|
|||
f3d3383173
|
@@ -8,7 +8,13 @@
|
|||||||
userName = "Noah Knegt";
|
userName = "Noah Knegt";
|
||||||
userEmail = "personal@noahknegt.com";
|
userEmail = "personal@noahknegt.com";
|
||||||
|
|
||||||
|
signing = {
|
||||||
|
key = "~/.ssh/id_ed25519.pub";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
gpg = { format = "ssh"; };
|
||||||
push = { autoSetupRemote = true; };
|
push = { autoSetupRemote = true; };
|
||||||
pull = { rebase = true; };
|
pull = { rebase = true; };
|
||||||
fetch = { prune = true; };
|
fetch = { prune = true; };
|
||||||
@@ -17,12 +23,14 @@
|
|||||||
includes = [
|
includes = [
|
||||||
{
|
{
|
||||||
condition = "gitdir:~/git.noahknegt.com";
|
condition = "gitdir:~/git.noahknegt.com";
|
||||||
|
path = "~/.config/git/git.noahknegt.com.gitconfig";
|
||||||
contents = {
|
contents = {
|
||||||
userEmail = "git@noahknegt.com";
|
userEmail = "git@noahknegt.com";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
condition = "gitdir:~/open-source";
|
condition = "gitdir:~/open-source";
|
||||||
|
path = "~/.config/git/open-source.gitconfig";
|
||||||
contents = {
|
contents = {
|
||||||
userEmail = "git@noahknegt.com";
|
userEmail = "git@noahknegt.com";
|
||||||
};
|
};
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
./IDEs
|
./IDEs
|
||||||
|
|
||||||
./git
|
./git
|
||||||
|
./zsh
|
||||||
|
|
||||||
|
./tmux.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
7
home-manager/tmux.nix
Normal file
7
home-manager/tmux.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
32
home-manager/zsh/antidote.nix
Normal file
32
home-manager/zsh/antidote.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.zsh.antidote = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
# popular fish-like plugins
|
||||||
|
"mattmc3/zfunctions"
|
||||||
|
"zsh-users/zsh-autosuggestions"
|
||||||
|
"zdharma-continuum/fast-syntax-highlighting kind:defer"
|
||||||
|
"zsh-users/zsh-history-substring-search"
|
||||||
|
|
||||||
|
# set up Zsh completions with plugins
|
||||||
|
"mattmc3/ez-compinit"
|
||||||
|
"zsh-users/zsh-completions kind:fpath path:src"
|
||||||
|
|
||||||
|
# frameworks like oh-my-zsh are supported
|
||||||
|
"getantidote/use-omz" # handle OMZ dependencies
|
||||||
|
"ohmyzsh/ohmyzsh path:lib" # load OMZ's library
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/extract"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/git"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/gitignore"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/jsontools"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/sudo"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/tmux"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
8
home-manager/zsh/default.nix
Normal file
8
home-manager/zsh/default.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./antidote.nix
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
|
}
|
9
home-manager/zsh/zsh.nix
Normal file
9
home-manager/zsh/zsh.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
autosuggestion.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user