Added extra notes, manual database restore script (preliminary) and added teamspeak.nix configuration.

This commit is contained in:
Root User 2026-02-09 22:40:44 +01:00
parent ee11c9171b
commit 39e044b757
Signed by: root
GPG key ID: 087F0A95E5766D72
3 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,66 @@
{
config,
pkgs,
lib,
...
}: {
options.local = {
hostname = lib.mkOption {
type = lib.types.str;
default = "nixos-default";
description = "System hostname";
};
username = lib.mkOption {
type = lib.types.str;
default = "user";
description = "Primary user username";
};
userDescription = lib.mkOption {
type = lib.types.str;
default = "NixOS User";
description = "Primary user description";
};
address = lib.mkOption {
type = lib.types.str;
default = "10.1.1.100";
description = "Static IP address";
};
};
imports = [
./modules/desktop-manager/sway_greetd_homemanager.nix
./modules/local/hostname_username.nix
./modules/local/networking_local.nix
./modules/bootloader/seabios-assigned-iso-at-birth.nix
./modules/lix-default.nix
# Optionally: ./modules/toolsets/remote_building.nix
#
#
## Compose modules for Portainer service
./modules/songsheet/wavelog/docker-compose.nix
./modules/secrets-config/sops-composesongsheet.nix
];
config = {
local.hostname = "christine-teamspeak";
local.username = "teamspeak_christine";
local.userDescription = "NixOS Teamspeak Service";
local.address = "10.1.1.248";
services.teamspeak3 = {
enable = true;
openFirewall = true;
};
networking.firewall.allowedTCPPorts = [
80
443
];
networking.firewall.allowedUDPPorts = [
80
443
];
system.stateVersion = "25.11";
};
}