modularise a bit

This commit is contained in:
tristan 2023-04-15 12:23:31 +01:00
parent e871ce10c7
commit f96e27fecd
5 changed files with 44 additions and 67 deletions

23
system/zenix.nix Normal file
View file

@ -0,0 +1,23 @@
# https://search.nixos.org/options
{ config, pkgs, ... }:
{
networking.hostName = "zenix";
i18n.defaultLocale = "en_GB.UTF-8";
console = {
font = "Lat2-Terminus16";
};
services.openssh.enable = true;
services.tailscale.enable = true;
networking.firewall.checkReversePath = "loose";
networking.firewall.allowedTCPPorts = [ ];
system.stateVersion = "22.11"; # do not change
}