init commit so flakes work
This commit is contained in:
commit
076814d4b9
6 changed files with 106 additions and 0 deletions
37
hosts/example.nix
Normal file
37
hosts/example.nix
Normal 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
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue