2022-02-03 21:21:17 +02:00
|
|
|
{ aspect, inputs, config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
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-02-05 20:09:35 +02:00
|
|
|
aspect.modules.hyprspace
|
2022-02-03 22:41:07 +02:00
|
|
|
aspect.modules.ipfs
|
|
|
|
|
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";
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Zurich";
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
|
|
|
networking.interfaces.enp0s3.useDHCP = true;
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
users.users.opc = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
|
|
|
|
}
|
|
|
|
|