31 lines
515 B
Nix
31 lines
515 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/network.nix
|
|
../../modules/ssh.nix
|
|
../../modules/wireguard.nix
|
|
../../modules/http-forwarding.nix
|
|
];
|
|
|
|
network.node = "vps";
|
|
|
|
networking.hostName = "vps";
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
wireguard-tools
|
|
nftables
|
|
vim
|
|
];
|
|
|
|
system.stateVersion = "26.05";
|
|
}
|