depot/hosts/thunderskin/system.nix

36 lines
784 B
Nix
Raw Normal View History

{ config, depot, ... }:
2023-03-20 20:52:07 +02:00
{
imports =
[
# Hardware
./hardware-configuration.nix
depot.inputs.agenix.nixosModules.age
depot.nixosModules.hyprspace
depot.nixosModules.serverBase
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "thunderskin";
2023-08-31 01:55:45 +03:00
networking.nameservers = [ depot.hours.VEGAS.interfaces.vstub.addr ];
2023-03-20 20:52:07 +02:00
time.timeZone = "Europe/Zurich";
networking.useDHCP = false;
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
2023-03-20 20:52:07 +02:00
i18n.defaultLocale = "en_US.UTF-8";
services.openssh.enable = true;
zramSwap.enable = true;
zramSwap.algorithm = "zstd";
system.stateVersion = "22.11";
}