feat(wpcarro/irc): Support Quassel client/server
- server: diogenes - client: marcus Change-Id: Ifc3a58370f6d68aec35ef363a40d03a8429f8012 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4579 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
ea39c6bdfe
commit
fbfce6c2a0
2 changed files with 27 additions and 4 deletions
|
@ -5,6 +5,7 @@ let
|
||||||
inherit (depot.users.wpcarro) keys;
|
inherit (depot.users.wpcarro) keys;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
"${depot.path}/ops/modules/quassel.nix"
|
||||||
(pkgs.path + "/nixos/modules/virtualisation/google-compute-image.nix")
|
(pkgs.path + "/nixos/modules/virtualisation/google-compute-image.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -27,7 +28,7 @@ in {
|
||||||
users = {
|
users = {
|
||||||
wpcarro = {
|
wpcarro = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" "quassel" ];
|
||||||
openssh.authorizedKeys.keys = keys.all;
|
openssh.authorizedKeys.keys = keys.all;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
@ -35,9 +36,16 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
# Provision SSL certificates to support HTTPS connections.
|
acme = {
|
||||||
acme.acceptTerms = true;
|
acceptTerms = true;
|
||||||
acme.email = "wpcarro@gmail.com";
|
email = "wpcarro@gmail.com";
|
||||||
|
|
||||||
|
certs."quassel.wpcarro.dev" = {
|
||||||
|
email = "wpcarro@gmail.com";
|
||||||
|
webroot = "/var/lib/acme/challenge-quassel";
|
||||||
|
group = "quassel";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sudo.wheelNeedsPassword = false;
|
sudo.wheelNeedsPassword = false;
|
||||||
};
|
};
|
||||||
|
@ -62,6 +70,14 @@ in {
|
||||||
preserveGenerations = "14d";
|
preserveGenerations = "14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
depot.quassel = {
|
||||||
|
enable = true;
|
||||||
|
acmeHost = "quassel.wpcarro.dev";
|
||||||
|
bindAddresses = [
|
||||||
|
"0.0.0.0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
journaldriver = {
|
journaldriver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
logStream = "home";
|
logStream = "home";
|
||||||
|
|
|
@ -3,6 +3,12 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
wpcarrosEmacs = depot.users.wpcarro.emacs.nixos;
|
wpcarrosEmacs = depot.users.wpcarro.emacs.nixos;
|
||||||
|
|
||||||
|
quasselClient = pkgs.quassel.override {
|
||||||
|
client = true;
|
||||||
|
enableDaemon = false;
|
||||||
|
monolithic = false;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(depot.path + "/users/wpcarro/nixos/marcus/hardware.nix")
|
(depot.path + "/users/wpcarro/nixos/marcus/hardware.nix")
|
||||||
|
@ -120,6 +126,7 @@ in {
|
||||||
fzf
|
fzf
|
||||||
git
|
git
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
quasselClient
|
||||||
ripgrep
|
ripgrep
|
||||||
tdesktop
|
tdesktop
|
||||||
tree
|
tree
|
||||||
|
|
Loading…
Reference in a new issue