changes to hopefully make things work
This commit is contained in:
parent
107e15f728
commit
577f1a83de
|
@ -60,7 +60,7 @@
|
|||
modules = (builtins.attrValues nixosModules) ++ [
|
||||
# > Our main nixos configuration file <
|
||||
./nixos/configuration.nix
|
||||
# bonfire.nixosModules.bonfire
|
||||
bonfire.nixosModules.bonfire
|
||||
];
|
||||
};
|
||||
test = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
{
|
||||
services.bookstack = {
|
||||
enable = true;
|
||||
hostname = "wiki.mutualaid.work";
|
||||
hostname = "wiki.sincerity.network";
|
||||
# appKeyFile = "/run/secrets/bookstack-app-key";
|
||||
appKeyFile = "/home/infra/app-key-file"; # TODO use agenix
|
||||
nginx = {
|
||||
serverName = "wiki.mutualaid.work";
|
||||
listenAddresses = [ "0.0.0.0" ];
|
||||
|
@ -15,9 +16,9 @@
|
|||
# Probably will need more configuration and testing
|
||||
# mail = {
|
||||
# host = "migadu.com";
|
||||
# user = "infra@mutualaid.work";
|
||||
# user = "infra@sincerity.network";
|
||||
# port = ???;
|
||||
# from = "bookstack@mutualaid.work";
|
||||
# from = "bookstack@sincerity.network";
|
||||
# driver = "smtp";
|
||||
# };
|
||||
};
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
./hardware-configuration.nix
|
||||
./vault-warden.nix
|
||||
./book-stack.nix
|
||||
# ./bonfire.nix
|
||||
./bonfire.nix
|
||||
./mumble.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
|
@ -19,9 +20,7 @@
|
|||
# This will additionally add your inputs to the system's legacy channels
|
||||
# Making legacy nix commands consistent as well, awesome!
|
||||
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
# Enable flakes and new 'nix' command
|
||||
experimental-features = "nix-command flakes";
|
||||
|
@ -30,6 +29,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
git
|
||||
vim
|
||||
];
|
||||
|
||||
# Remove if you wish to disable unfree packages for your system
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
@ -44,6 +48,7 @@
|
|||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
};
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# This setups a SSH server. Very important if you're setting up a headless system.
|
||||
# Feel free to remove if you don't need it.
|
||||
|
|
18
nixos/mumble.nix
Normal file
18
nixos/mumble.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{pkgs, ... }:
|
||||
{
|
||||
services.murmur = {
|
||||
enable = true;
|
||||
hostname = "talk.sincerity.network";
|
||||
registerHostname = "talk.sincerity.network";
|
||||
registerUrl = "talk.sincerity.network";
|
||||
registerName = "Sincerity Network Mumble";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
useACME = true;
|
||||
forceSSL = true;
|
||||
virtualHosts."talk.sincerity.network".proxyPass = "http://localhost:64738/";
|
||||
};
|
||||
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
services.vaultwarden = {
|
||||
enable = true;
|
||||
config = {
|
||||
domain = "https://vault.mutualaid.work:8443";
|
||||
domain = "https://vault.sincerity.network:8443";
|
||||
signupsAllowed = false;
|
||||
rocketPort = 8222;
|
||||
rocketLog = "critical";
|
||||
|
|
Loading…
Reference in a new issue