2024-07-16 21:14:30 +03:00
|
|
|
{ config, depot, ... }:
|
2022-02-03 21:21:17 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
# Hardware
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
2023-02-24 16:16:15 +02:00
|
|
|
depot.inputs.agenix.nixosModules.age
|
2022-02-03 21:21:17 +02:00
|
|
|
|
2023-01-31 23:59:53 +02:00
|
|
|
depot.nixosModules.hyprspace
|
|
|
|
depot.nixosModules.nix-builder
|
2022-02-03 22:41:07 +02:00
|
|
|
|
2023-01-31 23:59:53 +02:00
|
|
|
depot.nixosModules.serverBase
|
|
|
|
];
|
2022-02-03 21:21:17 +02:00
|
|
|
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
networking.hostName = "prophet";
|
2023-08-31 01:55:45 +03:00
|
|
|
networking.nameservers = [ depot.hours.VEGAS.interfaces.vstub.addr ];
|
2022-02-03 21:21:17 +02:00
|
|
|
|
|
|
|
time.timeZone = "Europe/Zurich";
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
2024-07-16 21:14:30 +03:00
|
|
|
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
2022-02-03 21:21:17 +02:00
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
|
2023-11-01 20:45:08 +02:00
|
|
|
zramSwap.enable = true;
|
|
|
|
zramSwap.algorithm = "zstd";
|
2022-02-03 21:21:17 +02:00
|
|
|
}
|
|
|
|
|