depot/hosts/prophet/system.nix

45 lines
903 B
Nix
Raw Normal View History

2022-08-04 00:39:55 +02:00
{ aspect, inputs, config, hosts, pkgs, ... }:
2022-02-03 20:21:17 +01:00
{
imports =
[
# Hardware
./hardware-configuration.nix
2022-02-04 00:08:05 +01:00
./modules/nginx
2022-02-03 20:21:17 +01:00
inputs.agenix.nixosModules.age
2022-02-05 23:34:42 +01:00
./services/cdn-shield
2022-02-04 00:08:05 +01:00
./services/meet
2022-02-18 21:26:59 +01:00
./services/reflex
2022-03-31 19:43:17 +02:00
aspect.modules.hercules-ci-agent
2022-02-05 19:09:35 +01:00
aspect.modules.hyprspace
2022-02-03 21:41:07 +01:00
aspect.modules.ipfs
2022-05-16 23:13:57 +02:00
aspect.modules.nix-builder
2022-08-04 00:39:55 +02:00
aspect.modules.sss
2022-02-03 21:41:07 +01:00
2022-02-04 00:08:05 +01:00
2022-02-03 20:21:17 +01: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 00:39:55 +02:00
networking.nameservers = [ hosts.VEGAS.interfaces.vstub.addr ];
2022-02-03 20:21:17 +01: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";
}