From b7f4ae0d2a9317c90e3e0f6443579a10d64b1b7b Mon Sep 17 00:00:00 2001 From: Zastian Pretorius Date: Tue, 17 Jun 2025 23:46:19 +0100 Subject: [PATCH] fixed hyprland workspaces being out of order coz I am a dum dum --- dots/hyprland.nix | 2 +- hardware-configuration.nix | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/dots/hyprland.nix b/dots/hyprland.nix index 845b5e6..878cf46 100755 --- a/dots/hyprland.nix +++ b/dots/hyprland.nix @@ -49,7 +49,7 @@ in #plugins plugin = { hyprsplit = { - num_workspaces = 9; + num_workspaces = 10; persistent_workspaces = true; }; }; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 3563a70..5aced16 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -8,24 +8,28 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/6aa7c67d-a0a5-4928-b16b-9c7991fee7ab"; - fsType = "ext4"; + { device = "/dev/disk/by-uuid/fdcbb840-4b35-4023-a048-599b0c5161d6"; + fsType = "btrfs"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A4F3-8038"; + { device = "/dev/disk/by-uuid/E1B6-9089"; fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/d226a8ed-10eb-452e-9284-1ff994a7f179"; + fsType = "btrfs"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/b416c3bd-861b-4b0c-aa84-6962b2e6a47d"; } + [ { device = "/dev/disk/by-uuid/ccf41b96-c45f-47e0-8541-cd865f5d2ec6"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -33,8 +37,9 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; + # networking.interfaces.enp6s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp4s0f0u8.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }