diff --git a/.direnv/flake-profile b/.direnv/flake-profile index 81fbd58..faa1c6f 120000 --- a/.direnv/flake-profile +++ b/.direnv/flake-profile @@ -1 +1 @@ -flake-profile-8-link \ No newline at end of file +flake-profile-15-link \ No newline at end of file diff --git a/.direnv/flake-profile-15-link b/.direnv/flake-profile-15-link new file mode 120000 index 0000000..8304268 --- /dev/null +++ b/.direnv/flake-profile-15-link @@ -0,0 +1 @@ +/nix/store/9d1gsmyzkcgmx0dwv978nkgfmzlmdihh-nix-shell-env \ No newline at end of file diff --git a/.direnv/flake-profile-8-link b/.direnv/flake-profile-8-link deleted file mode 120000 index ef12bfe..0000000 --- a/.direnv/flake-profile-8-link +++ /dev/null @@ -1 +0,0 @@ -/nix/store/mnbd9qfgkwxbqkf3n4j6rraal3zp7j3x-nix-shell-env \ No newline at end of file diff --git a/common/home/dotfiles/.zshrc b/common/home/dotfiles/.zshrc index 7ff158e..028d36e 100644 --- a/common/home/dotfiles/.zshrc +++ b/common/home/dotfiles/.zshrc @@ -44,6 +44,10 @@ if command -v eza &> /dev/null; then alias tree="eza --icons --tree --git-ignore" fi +if command -v wget &> /dev/null; then + alias wget-persistent="wget -c --tries=0 --user-agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0\" --waitretry=3 --timeout=30" +fi + if command -v git &> /dev/null; then if [ -d /etc/nixos ]; then alias nix-git="git -C '$@'" diff --git a/nixos/custom-odin-nixos/configuration.nix b/nixos/custom-odin-nixos/configuration.nix index 541acea..b793952 100755 --- a/nixos/custom-odin-nixos/configuration.nix +++ b/nixos/custom-odin-nixos/configuration.nix @@ -146,6 +146,9 @@ in mesa mesa.opencl intel-compute-runtime + rocmPackages.clr + rocmPackages.clr.icd + rocmPackages.rocm-runtime ]; }; @@ -241,6 +244,7 @@ in systemd = { tmpfiles.rules = [ "f /srv/win11/pipewire-0 700 reboot reboot - -" + "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; timers = { @@ -487,9 +491,10 @@ in ]; extraRules = '' - SUBSYSTEM=="kvmfr", MODE="0660", GROUP="kvm" - SUBSYSTEM=="usb", MODE="0660", GROUP="wheel" - ''; + SUBSYSTEM=="kvmfr", MODE="0660", GROUP="kvm" + SUBSYSTEM=="usb", MODE="0660", GROUP="wheel" + ACTION=="add", ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="${lib.getExe pkgs.usb-modeswitch} -K -v 0bda -p 1a2b" + ''; }; ratbagd.enable = true; @@ -671,6 +676,8 @@ in vulkan-loader vulkan-validation-layers vulkan-tools # vulkaninfo + rocmPackages.rocminfo + clinfo alsa-utils fluidsynth soundfont-fluid