From 1d6b8a63e0781d32469b18c0d200648dba4f8a65 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 6 Jan 2025 13:24:52 +0100 Subject: [PATCH] Disable ROCm related stuff and barman, due to breakage --- machines/loki/configuration.nix | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index de8f3c6..b8d4ab7 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -8,7 +8,7 @@ nixos-hardware.nixosModules.common-pc-ssd # ./vm.nix - ./barman.nix + # ./barman.nix ../../users/erwin ../../users/root @@ -16,7 +16,7 @@ ]; nixpkgs.config = { - rocmSupport = true; + rocmSupport = false; # Re-enable when I get a newer GPU than an RX 570 }; eboskma = { @@ -116,7 +116,7 @@ amdgpu = { initrd.enable = true; - opencl.enable = true; + opencl.enable = false; }; }; @@ -561,18 +561,18 @@ }; # Workaround for packages that has HIP paths hardcoded - systemd.tmpfiles.rules = - let - rocmEnv = pkgs.symlinkJoin { - name = "rocm-combined"; - paths = with pkgs.rocmPackages; [ - rocblas - hipblas - clr - ]; - }; - in - [ "L+ /opt/rocm - - - - ${rocmEnv}" ]; + # systemd.tmpfiles.rules = + # let + # rocmEnv = pkgs.symlinkJoin { + # name = "rocm-combined"; + # paths = with pkgs.rocmPackages; [ + # rocblas + # hipblas + # clr + # ]; + # }; + # in + # [ "L+ /opt/rocm - - - - ${rocmEnv}" ]; sops.defaultSopsFile = ./secrets.yaml; sops.secrets = { @@ -600,7 +600,7 @@ k3s-token = { }; barman-passwords = { - owner = "barman"; + # owner = "barman"; }; factorio-token = {