Add frontends

This commit is contained in:
muon 2024-12-10 13:31:39 +00:00
parent 4b3808c042
commit 92528d7121
8 changed files with 87 additions and 58 deletions

View file

@ -1,9 +1,8 @@
{ config, lib, pkgs, inputs, system, ... }:
let cfg = config.mods;
in {
# Hardware
imports = [ ./hardware-configuration.nix ];
imports = [ ./hardware-configuration.nix ../ports.nix ];
# System
mods.user.name = "muon";
@ -11,6 +10,10 @@ in {
networking.hostId = "56e55e83";
mods.home.file = ./home.nix;
# Hosting
networking.firewall.allowedTCPPorts =
lib.attrsets.mapAttrsToList (name: value: value) cfg.server.nginx.ports;
# Modules
mods.desktop.enable = true;
mods.desktop.gaming.enable = true;
@ -21,6 +24,8 @@ in {
mods.server.photos.enable = true;
mods.server.search.enable = true;
mods.server.videos.enable = true;
mods.server.reddit.enable = true;
mods.tailscale.enable = true;
mods.wireguard.id = 3;