dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
feat: tiny
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmS3USQACgkQuFOtpdp7
v3q0YRAA1MxaBD38nEFxmpHp5U2J7HgGKIazjaHVxFoUNofOOVNbOOfHfhM8MFZO
TJURB9zp2KBzz/FhK7OR++HMeomNAgvpCAl0nX/vGLZIekBKM/ESgPR8csHFFFZY
4mqOB9kNvf/3sKt8KlOfyFvzXqbVjpvkxuFo7qWJKvdKn3geFdouksz+hGHjUAfG
P9D0kHnmP4q/ygHqj2UDSs9XWspd6xs8IAYYnnJ7CJ2Zt3M4cA48Z496OtQpIKn/
p1jYbvuLjMXgdumX6IF1UdhfRmy9NVuuiPvFGFlxiJ8QmJO+mzQi5vr74D5+iy58
ggGZjrRV5wwU+IssbBd13/iYQMnCI0J8S4S9BmtEdZvOYV5ZNvgW3Z6wl+DDb2NI
l4JXbV4GNQ9g3e+IZ4Re9X19BHW83hUcDhtsYhP7sHiqQbPwIw01j/FfnhbXFPI/
BU7tAnAt5Z5pRMp75rX+YFnywNneCTPq3/tVt9cWP/PsLlnStHOrBVC2bI+eXDDV
n/8xg7CG26U8AXUekX1obToNlpiRldZFGa5qrCGJgYtFr5l3aD4WMCsCpS4G5vz4
aQS4b3ZgxqkopKVvzFBd5dE2AmJdD5hGksHVyPTw8SCyvkOJZ/gRlNulFAXx1ldd
ztnLJY26/vNxobvgfburGFu1az3nMk6cNcqh8aC/LVvDrRqrvTU=
=LrJh
-----END PGP SIGNATURE-----
5 changed files, 35 additions(+), 3 deletions(-)
diff --git a/apps/default.nix b/apps/default.nix
index 467d2cc1fcc3bbdd6ec3ed2998a4a339e0a9eb33..7baee6b98eab96937d4c4b7125a6699254c02181 100644
--- a/apps/default.nix
+++ b/apps/default.nix
@@ -19,6 +19,7 @@ ./nushell.nix
./oh-my-posh.nix
./spotifyd.nix
./ssh.nix
+ ./tiny.nix
./wezterm.nix
./zoxide.nix
];
diff --git a/apps/tiny.nix b/apps/tiny.nix
new file mode 100644
index 0000000000000000000000000000000000000000..cd30315db3cd94125286991673b71be9423ff13a
--- /dev/null
+++ b/apps/tiny.nix
@@ -0,0 +1,28 @@
+{
+ programs.tiny = {
+ enable = true;
+ settings = {
+ servers = [
+ {
+ addr = "irc.libera.chat";
+ port = 6697;
+ tls = true;
+ realname = "jolheiser";
+ nicks = ["jolheiser"];
+ alias = "LiberaChat";
+ #join = ["#gitea"];
+ sasl = {
+ username = "jolheiser";
+ password = {
+ command = "cat /run/agenix/irc-pw";
+ };
+ };
+ }
+ ];
+ defaults = {
+ nicks = ["jolheiser"];
+ realname = "jolheiser";
+ };
+ };
+ };
+}
diff --git a/flake.lock b/flake.lock
index 70dfc9e216317e45070e0e68d09fee547425191d..c0906fab933f49377cc42e4598cfe3b8fd521b5b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -117,12 +117,12 @@ }
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1688894907,
+ "lastModified": 1689631193,
- "narHash": "sha256-U7hEDDhzAhLp6T+DEUbfwAsL+BtqFFGn+S1pa/0XrZY=",
+ "narHash": "sha256-AGSkBZaiTODQc8eT1rZDrQIjtb8JtFwJ0wVPzArlrnM=",
"owner": "nixos",
"repo": "nixpkgs",
+ "nixpkgs"
"darwin": [],
- ]
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index 5fc780ea7d2840a252b51f60349e647c8af7559d..8c7a4c66d4b5b60595e13f07b1e15338907ced61 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,6 +57,7 @@ age.secrets = {
ssh-config = userSecret ./secrets/shared/ssh-config.age;
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
+ irc-pw = userSecret ./secrets/shared/irc-pw.age;
};
};
};
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index f4071f5c9644779af9361373ae93389884597189..6ac0e02ad5b636359b513be611792240d1d883bd 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -9,4 +9,6 @@ "shared/ssh-config.age".publicKeys = all;
"shared/ssh-config-work.age".publicKeys = all;
"shared/spotify-pw.age".publicKeys = all;
let
+ jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS nix";
+let
let
diff --git a/secrets/shared/irc-pw.age b/secrets/shared/irc-pw.age
new file mode 100644
index 0000000000000000000000000000000000000000..5993ea1e0ba2d98ee0571358653997f6dbbea20d
Binary files /dev/null and b/secrets/shared/irc-pw.age differ