Disable ROCm related stuff and barman, due to breakage

This commit is contained in:
Erwin Boskma 2025-01-06 13:24:52 +01:00
parent 88541b2902
commit 1d6b8a63e0
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -8,7 +8,7 @@
nixos-hardware.nixosModules.common-pc-ssd nixos-hardware.nixosModules.common-pc-ssd
# ./vm.nix # ./vm.nix
./barman.nix # ./barman.nix
../../users/erwin ../../users/erwin
../../users/root ../../users/root
@ -16,7 +16,7 @@
]; ];
nixpkgs.config = { nixpkgs.config = {
rocmSupport = true; rocmSupport = false; # Re-enable when I get a newer GPU than an RX 570
}; };
eboskma = { eboskma = {
@ -116,7 +116,7 @@
amdgpu = { amdgpu = {
initrd.enable = true; initrd.enable = true;
opencl.enable = true; opencl.enable = false;
}; };
}; };
@ -561,18 +561,18 @@
}; };
# Workaround for packages that has HIP paths hardcoded # Workaround for packages that has HIP paths hardcoded
systemd.tmpfiles.rules = # systemd.tmpfiles.rules =
let # let
rocmEnv = pkgs.symlinkJoin { # rocmEnv = pkgs.symlinkJoin {
name = "rocm-combined"; # name = "rocm-combined";
paths = with pkgs.rocmPackages; [ # paths = with pkgs.rocmPackages; [
rocblas # rocblas
hipblas # hipblas
clr # clr
]; # ];
}; # };
in # in
[ "L+ /opt/rocm - - - - ${rocmEnv}" ]; # [ "L+ /opt/rocm - - - - ${rocmEnv}" ];
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;
sops.secrets = { sops.secrets = {
@ -600,7 +600,7 @@
k3s-token = { }; k3s-token = { };
barman-passwords = { barman-passwords = {
owner = "barman"; # owner = "barman";
}; };
factorio-token = { factorio-token = {