39 lines
No EOL
805 B
Nix
39 lines
No EOL
805 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
# ../.modules/base/hardware.nix
|
|
../.modules/services/docker.nix
|
|
../.modules/users/arouzing.nix
|
|
../.modules/services/openssh.nix
|
|
];
|
|
|
|
# base packages
|
|
environment.systemPackages = with pkgs; [
|
|
htop
|
|
vim
|
|
# sleep
|
|
# tailscale
|
|
];
|
|
|
|
networking = {
|
|
firewall.checkReversePath = "loose";
|
|
hostName = "example"; # Define your hostname.
|
|
# networkmanager.enable = true;
|
|
};
|
|
|
|
# services.tailscale.enable = true;
|
|
|
|
time.timeZone = "America/New_York";
|
|
|
|
# Open ports in the firewall.
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [];
|
|
allowedUDPPorts = [];
|
|
};
|
|
## main services
|
|
system.stateVersion = "22.11";
|
|
|
|
} |