chore(flake): update rpi4 authorised ssh keys

This commit is contained in:
Felix Schröter 2022-01-23 22:35:59 +01:00
parent 6fc31b1426
commit c1644049c3
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 28 additions and 1 deletions

View file

@ -157,7 +157,7 @@
user = { user = {
extraGroups = [ "wheel" "audio" "disk" "media" ]; extraGroups = [ "wheel" "audio" "disk" "media" ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINDTp/k2m9yUn8NGDpCzyX2iK9lOwe6lJR5sk19apxC openpgp:0xBBA675EA" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP751vlJUnB7Pfe1KNr6weWkx/rkP4J3lTYpAekHdOgV"
]; ];
}; };
modules = [ homeManagerModules.git ]; modules = [ homeManagerModules.git ];

27
hardware/gpu-amd.nix Normal file
View file

@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl = {
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
amdvlk
vaapiIntel
vaapiVdpau
libvdpau-va-gl
rocm-opencl-icd
rocm-opencl-runtime
];
extraPackages32 = with pkgs.driversi686Linux; [
vaapiIntel
libvdpau-va-gl
vaapiVdpau
];
};
}