summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2024-12-05 01:08:36 +0100
committerstuebinm2024-12-05 01:08:36 +0100
commit4e1b54061515e2b2c16ba6f773eb5ebedbf2340b (patch)
tree2039babcc74134680f9bf169161747f7427e4d1f
parent203aa6daede832cf6a56ef56950e04284df38035 (diff)
home/ssh: add preprint/billy
Diffstat (limited to '')
-rw-r--r--home/home.nix19
-rw-r--r--modules/bookwyrm.nix2
2 files changed, 20 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index fa29a20..be50d2d 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -83,6 +83,20 @@
userName = "stuebinm@ilztalbahn.eu";
passwordCommand = "secret-tool lookup mail ilztalbahn";
};
+ accounts.preprint = {
+ address = "admin@books.exposed";
+ imap.host = "books.exposed";
+ mbsync = {
+ enable = true;
+ create = "maildir";
+ };
+ msmtp.enable = true;
+ mu.enable = true;
+ realName = "terru";
+ smtp.host = "books.exposed";
+ userName = "admin@books.exposed";
+ passwordCommand = "secret-tool lookup mail preprint";
+ };
};
programs.bash = {
@@ -342,6 +356,11 @@
user = "root";
identityFile = keydir + "/id_ed25519";
};
+ "billy" = {
+ hostname = "billy.books.exposed";
+ user = "root";
+ identityFile = keydir + "/id_ed25519";
+ };
};
};
diff --git a/modules/bookwyrm.nix b/modules/bookwyrm.nix
index 5adc498..94b9f28 100644
--- a/modules/bookwyrm.nix
+++ b/modules/bookwyrm.nix
@@ -67,7 +67,7 @@ in
default = false;
type = types.bool;
description = ''
- Whether to set up a simple nginx config to server bookwyrm's `static/` and `image`
+ Whether to set up a simple nginx config to serve bookwyrm's `static/` and `image`
directories.
'';
};