Compare commits

...

2 commits

Author SHA1 Message Date
Gabe Venberg 57252af57b added tiny irc client.
This involved setting up the pass password manager to manage secrets,
which in turn required setting up gpg, which needed syncthing to sync
keys.
2024-03-30 19:45:49 -05:00
Gabe Venberg 3e833842e1 added keybind for toggleterm. 2024-03-30 15:13:40 -05:00
8 changed files with 75 additions and 2 deletions

View file

@ -46,6 +46,9 @@
./voice.nix
./nvim
./zellij
./tiny-irc.nix
./pass.nix
./gpg.nix
];
programs = {
@ -62,5 +65,5 @@
};
};
services.ssh-agent.enable = true;
services.syncthing.enable = true;
}

View file

@ -0,0 +1,13 @@
{
config,
pkgs,
lib,
...
}: {
programs.gpg.enable = true;
services.gpg-agent={
enable=true;
enableSshSupport = true;
};
}

View file

@ -22,6 +22,7 @@
enableNushellIntegration = true;
};
programs.direnv.enableNushellIntegration = true;
services.gpg-agent.enableNushellIntegration = true;
services.pueue = {
enable = true;

View file

@ -21,7 +21,8 @@ $env.EDITOR = nvim
$env.VISUAL = nvim
$env.PIPENV_VENV_IN_PROJECT = 1
$env.POETRY_VIRTUALENVS_IN_PROJECT = 1
$env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent"
$env.XDG_DATA_HOME = ( $env.HOME | path join ".local" "share" )
$env.PASSWORD_STORE_DIR = ($env.XDG_DATA_HOME | path join "password-store")
$env.NU_LIB_DIRS = [
...

View file

@ -8,6 +8,8 @@
enable = true;
direction = "horizontal";
insertMappings = false;
openMapping = ''<c-\>'';
terminalMappings = false;
};
keymaps = [
{

View file

@ -0,0 +1,14 @@
{
config,
pkgs,
lib,
...
}: {
programs.password-store = {
enable = true;
};
home.packages = with pkgs; [
ripasso-cursive
];
}

View file

@ -0,0 +1,38 @@
{
config,
pkgs,
lib,
...
}: {
programs.tiny = {
enable = true;
settings = {
servers = [
{
addr = "irc.libera.chat";
port = 6697;
tls = true;
realname = "Gabe Venberg";
nicks = ["toric"];
join = [
"#libera"
"#linux"
"#lobsters"
"#nixos"
];
sasl = {
username="toric";
password={
command= "pass show libera";
};
};
}
];
defaults = {
nicks = ["toric"];
realname = "Gabe Venberg";
tls = true;
};
};
};
}

View file

@ -10,6 +10,7 @@
programs.carapace.enableZshIntegration = true;
programs.direnv.enableZshIntegration = true;
programs.kitty.shellIntegration.enableZshIntegration = true;
services.gpg-agent.enableZshIntegration = true;
programs.zsh = {
enable = true;
enableCompletion = true;