depot/hosts/checkmate/system.nix

38 lines
743 B
Nix
Raw Permalink Normal View History

2023-02-24 16:16:15 +02:00
{ depot, ... }:
2023-03-01 01:12:08 +02:00
{
imports =
[
# Hardware
./hardware-configuration.nix
2023-02-24 16:16:15 +02:00
depot.inputs.agenix.nixosModules.age
2023-03-01 01:12:08 +02:00
2023-02-24 16:16:15 +02:00
depot.nixosModules.hyprspace
depot.nixosModules.serverBase
];
2023-03-01 01:12:08 +02:00
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "checkmate";
2023-02-24 16:16:15 +02:00
networking.nameservers = [ depot.config.hours.VEGAS.interfaces.vstub.addr ];
2023-03-01 01:12:08 +02:00
time.timeZone = "Europe/Zurich";
networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true;
i18n.defaultLocale = "en_US.UTF-8";
services.openssh.enable = true;
2023-03-02 00:03:11 +02:00
zramSwap.enable = true;
zramSwap.algorithm = "zstd";
2023-03-01 01:12:08 +02:00
system.stateVersion = "21.11";
}