refactor(hosts/server): using games modules

This commit is contained in:
Raphael 2025-10-09 00:37:03 +02:00 committed by Raphaël
parent d52f2aa6e9
commit 0cd8633d04

View file

@ -10,10 +10,10 @@
imports = [ imports = [
../global.nix ../global.nix
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/games/global.nix ../../modules/games.nix
../../services/forty_two.nix ../../services/forty_two.nix
../../services/discord.nix ../../services/discord.nix
../../services/games.nix ../../services/server.nix
../../services/web.nix ../../services/web.nix
../../services/self_host.nix ../../services/self_host.nix
]; ];
@ -25,19 +25,27 @@
wireless.enable = false; wireless.enable = false;
}; };
games = {
lutris = false;
steam = {
enable = true;
bp = true;
};
};
service = { service = {
selfhost = { selfhost = {
htop = true; htop = true;
ollama = false; ollama = false;
mail = false; mail = false;
monitor = true; monitor = true;
teamspeak = true;
nextcloud = true; nextcloud = true;
}; };
forty_two.irc = true; forty_two.irc = true;
web.portefolio = true; web.portefolio = true;
games = { server = {
enium-pv = false; minecraft = false;
teamspeak = true;
}; };
bot_discord = { bot_discord = {
master = true; master = true;
@ -86,13 +94,6 @@
]; ];
}; };
dbus.enable = true; dbus.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
openssh = { openssh = {
enable = true; enable = true;
ports = [ 42131 ]; ports = [ 42131 ];