depot/hosts/checkmate/system.nix

39 lines
751 B
Nix
Raw Normal View History

2023-03-01 01:12:08 +02:00
{ aspect, inputs, hosts, ... }:
{
imports =
[
# Hardware
./hardware-configuration.nix
inputs.agenix.nixosModules.age
2023-03-01 22:51:49 +02:00
aspect.modules.hyprspace
2023-03-01 01:12:08 +02:00
aspect.modules.sss
]
++ aspect.sets.server;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "checkmate";
networking.nameservers = [ hosts.VEGAS.interfaces.vstub.addr ];
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";
}