dot.nix/host/komodo/default.nix
2025-01-11 03:52:58 -05:00

50 lines
677 B
Nix

{
modulesPath,
config,
pkgs,
hostName,
...
}:
{
## MODULES & IMPORTS ##
imports = [
# Common Modules
../../common/lxc
../../common/ssh
# Import hardware configuration.
./hardware.nix
# Local Modules
./modules/frp
./modules/komodo
];
## NETWORKING ##
networking.firewall = {
allowedTCPPorts = [
22
80
443
9120
];
allowedUDPPorts = [ ];
};
## ENVIORMENT & PACKAGES ##
environment.systemPackages = with pkgs; [
compose2nix
git
micro
openssh
ranger
sshfs
wget
];
environment.variables = {
HOSTNAME = hostName;
};
## PROGRAMS & SERVICES ##
}