nixos/hosts/vps/default.nix

35 lines
631 B
Nix
Raw Normal View History

2025-06-20 11:59:24 -07:00
{ 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
2025-08-12 11:58:29 -07:00
../../modules/dev/docker.nix
2025-06-20 11:59:24 -07:00
inputs.home-manager.nixosModules.default
inputs.sops-nix.nixosModules.sops
];
config = {
### USER ###
2025-08-12 11:58:29 -07:00
user = "vps";
host = "vps";
sops_file = "vps.yaml";
rootless_docker = true;
2025-06-20 11:59:24 -07:00
### NETWORKING ###
networking.enableIPv6 = false;
2025-08-12 11:58:29 -07:00
# firewall config in server_config
2025-06-20 11:59:24 -07:00
system.stateVersion = "25.05";
};
}