mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add frontends
This commit is contained in:
parent
4b3808c042
commit
92528d7121
8 changed files with 87 additions and 58 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue