mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
34 lines
857 B
Nix
34 lines
857 B
Nix
{ config, pkgs, lib, sources, witch, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
../../services/zfs.nix
|
|
../../services/nginx.nix
|
|
./thermal
|
|
./vm
|
|
./torrenting.nix
|
|
];
|
|
|
|
deploy.profiles = [ "gui" "sway" "kat" ];
|
|
deploy.ssh.host = "192.168.1.135";
|
|
|
|
# graphics tablet
|
|
services.xserver.wacom.enable = true;
|
|
|
|
# other stuffs
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.supportedFilesystems = [ "zfs" "xfs" ];
|
|
networking.hostName = "samhain";
|
|
networking.hostId = "617050fc";
|
|
networking.useDHCP = false;
|
|
networking.interfaces.enp34s0.useDHCP = true;
|
|
networking.firewall.allowPing = true;
|
|
networking.firewall.allowedTCPPorts = [ 445 139 9091 ]; # smb transmission
|
|
networking.firewall.allowedUDPPorts = [ 137 138 4010 ]; # smb scream
|
|
|
|
system.stateVersion = "20.09";
|
|
|
|
}
|
|
|