some minor config
This commit is contained in:
parent
457537462a
commit
89ce2c97d9
9 changed files with 326 additions and 189 deletions
|
@ -21,6 +21,5 @@ in {
|
|||
# * fc00:x
|
||||
|
||||
containers = {
|
||||
|
||||
};
|
||||
}
|
||||
|
|
8
hosts/services.nix
Normal file
8
hosts/services.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
olympus.bastion.nginx = {
|
||||
dns = {
|
||||
a = "0x76.dev";
|
||||
};
|
||||
ports = [80 443];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -12,5 +12,7 @@
|
|||
libreoffice-fresh
|
||||
jetbrains.clion
|
||||
jetbrains.rust-rover
|
||||
eduvpn-client
|
||||
localsend
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue