dot.nix/host/caenus/default.nix
Chris Toph 9e5c6b8292 Normalized caenus to configs changes
and updated according to its running config
2025-01-13 23:40:56 -05:00

55 lines
786 B
Nix

{
modulesPath,
config,
pkgs,
hostName,
...
}:
{
## MODULES & IMPORTS ##
## MODULES & IMPORTS ##
imports = [
# Common Modules
../../common/acme
../../common/ssh
# Import hardware configuration.
./hardware.nix
# Local Modules
./modules/frp
./modules/nginx
];
## BOOTLOADER ##
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
## NETWORKING ##
networking.firewall = {
allowedTCPPorts = [
22
80
443
4040
25565
];
allowedUDPPorts = [ 4040 ];
};
## ENVIORMENT & PACKAGES ##
environment.systemPackages = with pkgs; [
git
micro
openssh
ranger
sshfs
wget
];
environment.variables = {
HOSTNAME = hostName;
};
}