57 lines
1.4 KiB
Nix
57 lines
1.4 KiB
Nix
{ inputs, ... }:
|
|
|
|
# ============================================================================
|
|
# USDA Dashboard External System Module
|
|
# ============================================================================
|
|
# External system configuration for usda-dash
|
|
# This module can be referenced from nixos-systems/inventory.nix using:
|
|
#
|
|
# nix-lxc = {
|
|
# devices = {
|
|
# "usda-dash" = builtins.fetchGit {
|
|
# url = "https://github.com/UGA-Innovation-Factory/usda-dash-config";
|
|
# rev = "commit-hash";
|
|
# };
|
|
# };
|
|
# };
|
|
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
# ========== Module Configuration ==========
|
|
config = {
|
|
# System packages specific to usda-dash
|
|
environment.systemPackages = with pkgs; [
|
|
# Add any dashboard-specific tools here
|
|
git
|
|
vim
|
|
htop
|
|
curl
|
|
wget
|
|
];
|
|
|
|
# SSH is already configured by the host type module
|
|
# Only override if you need different settings:
|
|
# services.openssh.settings.PermitRootLogin = lib.mkForce "no";
|
|
|
|
# Configure users (these will be added via inventory.nix extraUsers)
|
|
athenix.users.sv22900.enable = true;
|
|
athenix.users.hdh20267.enable = true;
|
|
|
|
# Dashboard-specific services could go here
|
|
# Example:
|
|
# services.nginx.enable = true;
|
|
# services.postgresql.enable = true;
|
|
|
|
# Firewall configuration
|
|
# networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
# Any other usda-dash specific configuration
|
|
};
|
|
}
|