2024-03-06 16:07:40 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
2024-01-11 13:42:31 +01:00
|
|
|
with lib;
|
|
|
|
with lib.plusultra;
|
|
|
|
{
|
2024-03-06 15:51:59 +01:00
|
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
|
|
|
|
plusultra = {
|
|
|
|
base.enable = true;
|
|
|
|
nix-ld.enable = true;
|
|
|
|
nix.enable = true;
|
|
|
|
nix.extra-substituters."https://nixsgx.cachix.org".key = "nixsgx.cachix.org-1:tGi36DlY2joNsIXOlGnSgWW0+E094V6hW0umQRo/KoE=";
|
|
|
|
user.extraGroups = [ "docker" ];
|
2024-01-11 13:42:31 +01:00
|
|
|
};
|
|
|
|
|
2024-01-18 16:03:51 +01:00
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
2024-01-11 13:42:31 +01:00
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
2024-03-06 16:23:35 +01:00
|
|
|
operation = "switch";
|
2024-01-11 13:42:31 +01:00
|
|
|
allowReboot = true;
|
2024-01-12 14:23:32 +01:00
|
|
|
};
|
2024-01-11 13:42:31 +01:00
|
|
|
|
2024-03-06 16:16:09 +01:00
|
|
|
security.tpm2.enable = false;
|
|
|
|
security.tpm2.abrmd.enable = false;
|
2024-01-11 13:42:31 +01:00
|
|
|
|
2024-03-06 15:51:59 +01:00
|
|
|
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
|
2024-01-11 13:42:31 +01:00
|
|
|
|
2024-03-06 15:51:59 +01:00
|
|
|
services.aesmd.enable = true;
|
2024-01-11 13:42:31 +01:00
|
|
|
|
2024-03-06 15:51:59 +01:00
|
|
|
powerManagement.cpuFreqGovernor = "ondemand";
|
2024-01-11 13:42:31 +01:00
|
|
|
|
2024-03-06 15:51:59 +01:00
|
|
|
system.stateVersion = "23.11";
|
2024-01-11 13:42:31 +01:00
|
|
|
}
|