Compare commits

...

4 Commits

Author SHA1 Message Date
6c135e9c4e Add tmux 2025-02-27 18:44:16 +01:00
7fc2bf7b80 Add antidote config 2025-02-27 18:42:07 +01:00
d310ab19d3 Add basic ZSH config 2025-02-27 17:39:57 +01:00
f3d3383173 Some signing key stuff 2025-02-27 17:38:22 +01:00
6 changed files with 67 additions and 0 deletions

View File

@@ -8,7 +8,13 @@
userName = "Noah Knegt";
userEmail = "personal@noahknegt.com";
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;
};
extraConfig = {
gpg = { format = "ssh"; };
push = { autoSetupRemote = true; };
pull = { rebase = true; };
fetch = { prune = true; };
@@ -17,12 +23,14 @@
includes = [
{
condition = "gitdir:~/git.noahknegt.com";
path = "~/.config/git/git.noahknegt.com.gitconfig";
contents = {
userEmail = "git@noahknegt.com";
};
}
{
condition = "gitdir:~/open-source";
path = "~/.config/git/open-source.gitconfig";
contents = {
userEmail = "git@noahknegt.com";
};

View File

@@ -18,6 +18,9 @@
./IDEs
./git
./zsh
./tmux.nix
];
nixpkgs = {

7
home-manager/tmux.nix Normal file
View File

@@ -0,0 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.tmux = {
enable = true;
};
}

View 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"
];
};
}

View File

@@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./antidote.nix
./zsh.nix
];
}

9
home-manager/zsh/zsh.nix Normal file
View File

@@ -0,0 +1,9 @@
{ pkgs, inputs, ... }:
{
programs.zsh = {
enable = true;
autosuggestion.enable = true;
};
}