Compare commits
8 commits
ecd4d9c822
...
64c1f5a2aa
Author | SHA1 | Date | |
---|---|---|---|
64c1f5a2aa | |||
4eb463a902 | |||
12f52dab74 | |||
e5cb49c43f | |||
bd6b2e282b | |||
7bdc9150f5 | |||
3a7cc6fff7 | |||
7de1caa0e7 |
1 changed files with 33 additions and 5 deletions
|
@ -36,10 +36,16 @@
|
||||||
# { device = "/dev/disk/by-uuid/xxxx";
|
# { device = "/dev/disk/by-uuid/xxxx";
|
||||||
# fsType = "etx4";
|
# fsType = "etx4";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
boot.initrd.luks.devices."nvme2n1p2_oldcrypt".device = "/dev/disk/by-uuid/44235dca-99e8-4ea8-9516-97d9f5a2d702";
|
boot.initrd.luks.devices."nvme2n1p2_oldcrypt".device = "/dev/disk/by-uuid/44235dca-99e8-4ea8-9516-97d9f5a2d702";
|
||||||
|
|
||||||
|
# Temporarily pin to 6.12 to fix llvm/rocm build
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/368672#issuecomment-2608697421
|
||||||
|
# boot.kernelPackages = pkgs.linuxPackages_6_12;
|
||||||
|
|
||||||
boot.kernelModules = [ "kvm-amd" "nct6775" ];
|
boot.kernelModules = [ "kvm-amd" "nct6775" ];
|
||||||
|
|
||||||
# Direct patching for enabling for async reprojection (steamvr)
|
# Direct patching for enabling for async reprojection (steamvr) on AMD
|
||||||
boot.kernelPatches = [
|
boot.kernelPatches = [
|
||||||
{
|
{
|
||||||
name = "amdgpu-ignore-ctx-privileges";
|
name = "amdgpu-ignore-ctx-privileges";
|
||||||
|
@ -109,13 +115,17 @@
|
||||||
# variant = "";
|
# variant = "";
|
||||||
#};
|
#};
|
||||||
|
|
||||||
|
# Enable bluetooth
|
||||||
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
|
#hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# ...no. Recent security issues, prefer disabled
|
# ...no. Recent security issues, prefer disabled
|
||||||
# apps like e.g. LibreOffice can still generate pdf's (e.g. to stand in [generally] for Print to pdf)
|
# apps like e.g. LibreOffice can still generate pdf's (e.g. to stand in [generally] for Print to pdf)
|
||||||
# services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
hardware.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -163,7 +173,7 @@
|
||||||
|
|
||||||
# For xdebug...verify actual necessity
|
# For xdebug...verify actual necessity
|
||||||
# Have had to use this, but I think it can be disabled still - perhaps w/xdebug binding setting...don't know.
|
# Have had to use this, but I think it can be disabled still - perhaps w/xdebug binding setting...don't know.
|
||||||
#networking.firewall.allowedTCPPorts = [ 9003 ];
|
networking.firewall.allowedTCPPorts = [ 9003 ];
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -217,7 +227,11 @@
|
||||||
rpi-imager # rasbperry pi os burner util
|
rpi-imager # rasbperry pi os burner util
|
||||||
screenkey # broadcast key presses
|
screenkey # broadcast key presses
|
||||||
superfile # cli file manager
|
superfile # cli file manager
|
||||||
|
mpv # movie player
|
||||||
#obs-studio # open broadcast studio
|
#obs-studio # open broadcast studio
|
||||||
|
protonup-qt # proton version installer
|
||||||
|
heroic # game launcher (GOG/Epic/Prime)
|
||||||
|
lutris # game launcher (EA/Humble/Ubi++)
|
||||||
];
|
];
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
@ -286,21 +300,35 @@
|
||||||
|
|
||||||
# RX 6700 XT setup
|
# RX 6700 XT setup
|
||||||
hardware.graphics.extraPackages = [
|
hardware.graphics.extraPackages = [
|
||||||
pkgs.rocmPackages.clr.icd
|
|
||||||
pkgs.amdvlk
|
pkgs.amdvlk
|
||||||
|
pkgs.libcap
|
||||||
pkgs.libva
|
pkgs.libva
|
||||||
|
pkgs.mesa
|
||||||
|
pkgs.rocmPackages.clr.icd
|
||||||
|
#pkgs.pcre2
|
||||||
|
#pkgs.libselinux
|
||||||
|
#pkgs.rocmPackages.rocblas
|
||||||
|
#pkgs.rocmPackages.rocm-smi
|
||||||
|
#pkgs.rocmPackages.rocminfo
|
||||||
|
#pkgs.rocmPackages.hipblas
|
||||||
|
#pkgs.rocmPackages.rocm-device-libs
|
||||||
|
#pkgs.rocmPackages.rpp
|
||||||
];
|
];
|
||||||
|
|
||||||
# To enable Vulkan support for 32-bit applications, also add:
|
# To enable Vulkan support for 32-bit applications, also add:
|
||||||
hardware.graphics.extraPackages32 = [
|
hardware.graphics.extraPackages32 = [
|
||||||
pkgs.driversi686Linux.amdvlk
|
pkgs.driversi686Linux.amdvlk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.amdgpu.opencl.enable = true;
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
|
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
|
||||||
};
|
};
|
||||||
rocmOverrideGfx = "10.3.1";
|
rocmOverrideGfx = "10.3.0";
|
||||||
};
|
};
|
||||||
system.activationScripts = {
|
system.activationScripts = {
|
||||||
script.text = ''
|
script.text = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue