36 lines
636 B
Nix
36 lines
636 B
Nix
![]() |
{ pkgs, inputs, config, lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports =
|
||
|
[
|
||
|
./boot.nix
|
||
|
./hardware.nix
|
||
|
./server_config.nix
|
||
|
../../modules/common
|
||
|
../../modules/networking/ssh.nix
|
||
|
../../modules/user
|
||
|
../../modules/apps/00_tui_base.nix
|
||
|
inputs.home-manager.nixosModules.default
|
||
|
inputs.sops-nix.nixosModules.sops
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
|
||
|
### USER ###
|
||
|
user = "vps_fz";
|
||
|
host = "vps_fz";
|
||
|
sops_file = "vps_fz.yaml";
|
||
|
|
||
|
|
||
|
### NETWORKING ###
|
||
|
networking.enableIPv6 = false;
|
||
|
networking.firewall = {
|
||
|
enable = true;
|
||
|
allowedTCPPorts = [ 80 443 ];
|
||
|
};
|
||
|
|
||
|
system.stateVersion = "25.05";
|
||
|
};
|
||
|
}
|
||
|
|