init commit so flakes work

This commit is contained in:
arouzing 2023-01-31 18:11:19 -05:00
commit 076814d4b9
6 changed files with 106 additions and 0 deletions

37
hosts/example.nix Normal file
View file

@ -0,0 +1,37 @@
{ config, pkgs, lib, ... }:
{
imports =
[ # Include the results of the hardware scan.
./.modules/base/hardware.nix
./.modules/services/docker.nix
./.modules/arouzing.nix
];
# base packages
environment.systemPackages = with pkgs; [
htop
vim
# 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
}