Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

No more unstable sway

+7 -5
+6 -4
gui.nix
··· 9 9 videoDrivers = [ "amdgpu" ]; 10 10 }; 11 11 12 + # Fix for HIP libraries 13 + systemd.tmpfiles.rules = [ 14 + "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" 15 + ]; 16 + 12 17 # Configure keymap in X11 13 18 # services.xserver.xkb.layout = "us"; 14 19 # services.xserver.xkb.options = "eurosign:e,caps:escape"; ··· 31 36 enable = true; 32 37 driSupport = true; 33 38 extraPackages = with pkgs; [ 34 - # TODO: figure out why this doesn't work 35 - # Looks like it requires unfree 36 - # rocmPackages.clr.icd 37 39 amdvlk 38 40 libva 39 41 mesa.drivers ··· 63 65 # Enable the sway window manager 64 66 programs.sway = { 65 67 enable = true; 66 - package = unstable.sway; 68 + #package = unstable.sway; 67 69 wrapperFeatures.gtk = true; 68 70 }; 69 71 # Use greetd as the displaymanager
+1 -1
hardware-configuration.nix
··· 9 9 (modulesPath + "/installer/scan/not-detected.nix") 10 10 ]; 11 11 12 - boot.kernelPackages = pkgs.linuxPackages_zen; 12 + boot.kernelPackages = pkgs.linuxPackages_latest; 13 13 boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; 14 14 boot.initrd.kernelModules = [ "kvm-amd" "amdgpu" ]; 15 15 boot.kernelModules = [ "kvm-amd" "amdgpu" ];