depot/hosts/prophet/system.nix

37 lines
723 B
Nix
Raw Normal View History

2023-02-24 16:16:15 +02:00
{ 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
depot.nixosModules.hyprspace
depot.nixosModules.nix-builder
2022-02-03 22:41:07 +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-02-24 16:16:15 +02:00
networking.nameservers = [ depot.config.hours.VEGAS.interfaces.vstub.addr ];
2022-02-03 21:21:17 +02:00
time.timeZone = "Europe/Zurich";
networking.useDHCP = false;
2023-04-12 22:20:13 +03:00
networking.interfaces.enp0s6.useDHCP = true;
2022-02-03 21:21:17 +02:00
i18n.defaultLocale = "en_US.UTF-8";
services.openssh.enable = true;
system.stateVersion = "21.11";
}