depot/hosts/prophet/system.nix

45 lines
903 B
Nix
Raw Normal View History

2022-08-04 01:39:55 +03:00
{ aspect, inputs, config, hosts, pkgs, ... }:
2022-02-03 21:21:17 +02:00
{
imports =
[
# Hardware
./hardware-configuration.nix
2022-02-04 01:08:05 +02:00
./modules/nginx
2022-02-03 21:21:17 +02:00
inputs.agenix.nixosModules.age
2022-02-06 00:34:42 +02:00
./services/cdn-shield
2022-02-04 01:08:05 +02:00
./services/meet
2022-02-18 22:26:59 +02:00
./services/reflex
2022-03-31 20:43:17 +03:00
aspect.modules.hercules-ci-agent
2022-02-05 20:09:35 +02:00
aspect.modules.hyprspace
2022-02-03 22:41:07 +02:00
aspect.modules.ipfs
2022-05-17 00:13:57 +03:00
aspect.modules.nix-builder
2022-08-04 01:39:55 +03:00
aspect.modules.sss
2022-02-03 22:41:07 +02:00
2022-02-04 01:08:05 +02:00
2022-02-03 21:21:17 +02:00
]
++ aspect.sets.server;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "prophet";
2022-08-04 01:39:55 +03:00
networking.nameservers = [ hosts.VEGAS.interfaces.vstub.addr ];
2022-02-03 21:21:17 +02:00
time.timeZone = "Europe/Zurich";
networking.useDHCP = false;
networking.interfaces.enp0s3.useDHCP = true;
i18n.defaultLocale = "en_US.UTF-8";
services.openssh.enable = true;
system.stateVersion = "21.11";
}