Enable mumble server
This commit is contained in:
parent
c43c5ccdcb
commit
2368267e90
6 changed files with 39 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
mail.enable = true;
|
mail.enable = true;
|
||||||
matrix.enable = true;
|
matrix.enable = true;
|
||||||
|
mumble.enable = true;
|
||||||
nextcloud.enable = true;
|
nextcloud.enable = true;
|
||||||
nginx.hosts = [
|
nginx.hosts = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -65,6 +65,10 @@
|
||||||
device = "zroot/safe/services/forgejo";
|
device = "zroot/safe/services/forgejo";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
"/var/lib/murmur" = {
|
||||||
|
device = "zroot/local/services/murmur";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
"/var/vmail" = {
|
"/var/vmail" = {
|
||||||
device = "zroot/safe/services/mail";
|
device = "zroot/safe/services/mail";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
./git
|
./git
|
||||||
./mail
|
./mail
|
||||||
./matrix
|
./matrix
|
||||||
|
./mumble
|
||||||
./nextcloud
|
./nextcloud
|
||||||
./nginx
|
./nginx
|
||||||
./torrents
|
./torrents
|
||||||
|
|
21
modules/nixos/services/mumble/default.nix
Normal file
21
modules/nixos/services/mumble/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.chvp.services.mumble.enable = lib.mkOption {
|
||||||
|
default = false;
|
||||||
|
example = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
config = lib.mkIf config.chvp.services.mumble.enable {
|
||||||
|
services.murmur = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
password = "$MURMURD_PASSWORD";
|
||||||
|
};
|
||||||
|
age.secrets."passwords/services/murmur" = {
|
||||||
|
file = ../../../../secrets/passwords/services/murmur.age;
|
||||||
|
owner = "murmur";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -66,6 +66,8 @@ in
|
||||||
"secrets/passwords/services/git/mail-password.age".publicKeys = [ marabethia ] ++ users;
|
"secrets/passwords/services/git/mail-password.age".publicKeys = [ marabethia ] ++ users;
|
||||||
"secrets/passwords/services/git/token-file.age".publicKeys = [ elendel ] ++ users;
|
"secrets/passwords/services/git/token-file.age".publicKeys = [ elendel ] ++ users;
|
||||||
|
|
||||||
|
"secrets/passwords/services/murmur.age".publicKeys = [ marabethia ] ++ users;
|
||||||
|
|
||||||
"secrets/passwords/services/nextcloud-admin.age".publicKeys = [ marabethia ] ++ users;
|
"secrets/passwords/services/nextcloud-admin.age".publicKeys = [ marabethia ] ++ users;
|
||||||
|
|
||||||
"secrets/passwords/services/data-basic-auth.age".publicKeys = [ elendel ] ++ users;
|
"secrets/passwords/services/data-basic-auth.age".publicKeys = [ elendel ] ++ users;
|
||||||
|
|
10
secrets/passwords/services/murmur.age
Normal file
10
secrets/passwords/services/murmur.age
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 9+Fe5A XyJjsUUO2h7f++xRBDG49iHLxFxuR9acUOwa9+/1DBU
|
||||||
|
RRgrX0Vzyvah+bZXIvyYJizEx6YoAn2IahJlTqRjCYc
|
||||||
|
-> ssh-ed25519 s9rb8g D9Pms7pInTp1a2XzkjnxM1YX9hM+yDfHGfn2vrbIPDs
|
||||||
|
SLG08eiFDMSO2hegu/aSrWdUW6FfIp3AIY3i0oy9CBE
|
||||||
|
-> ssh-ed25519 +xxExQ MziN/GpIcgNK8kI8ZXvmLBY7kEhG/JJu9zxv1Aj/mx4
|
||||||
|
qgwxeoeXNTvTXiJ9niZg6xbbZ2GspyCZTgTYpN7zkL0
|
||||||
|
--- v9mX4yRYWvCIj/tIfM6i3gLmZUWpm+Yj+ks1ecasgDM
|
||||||
|
eGO*æ<>äˆÎKÑ^Ë£¼)t1Îðfï‚
|
||||||
|
<>þÕ’ñï¾RVDR*nò6|«E¥®E4ü“‚)IYÐáÐ
|
Loading…
Add table
Reference in a new issue