some minor config

This commit is contained in:
Vivian 2024-03-14 11:47:49 +01:00
parent 457537462a
commit 89ce2c97d9
9 changed files with 326 additions and 189 deletions

View file

@ -21,6 +21,5 @@ in {
# * fc00:x
containers = {
};
}

8
hosts/services.nix Normal file
View file

@ -0,0 +1,8 @@
{
olympus.bastion.nginx = {
dns = {
a = "0x76.dev";
};
ports = [80 443];
};
}

View file

@ -4,13 +4,18 @@
bluetooth.enable = true;
# Vulkan
opengl.driSupport = true;
opengl.extraPackages = with pkgs; [
amdvlk
rocm-opencl-icd
rocm-opencl-runtime
];
# OpenGL + Vulkan
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
amdvlk
rocm-opencl-icd
rocm-opencl-runtime
mesa.drivers
];
};
};
services = {
@ -47,9 +52,11 @@
# tpm
enable = true;
pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
pkcs11.enable =
true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
tctiEnvironment.enable = true;
};
}; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables
users.users.vivian.extraGroups = [ "tss" ]; # tss group has access to TPM devices
users.users.vivian.extraGroups =
[ "tss" ]; # tss group has access to TPM devices
}

View file

@ -12,5 +12,7 @@
libreoffice-fresh
jetbrains.clion
jetbrains.rust-rover
eduvpn-client
localsend
];
}