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.
This commit is contained in:
Gabe Venberg 2024-03-30 19:43:52 -05:00
parent 3e833842e1
commit 57252af57b
7 changed files with 73 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

@ -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;