diff --git a/hosts/kuroko/configuration.nix b/hosts/kuroko/configuration.nix index de8206d..368f7c3 100644 --- a/hosts/kuroko/configuration.nix +++ b/hosts/kuroko/configuration.nix @@ -4,6 +4,7 @@ { config, pkgs, + lib, ... }: { @@ -20,7 +21,7 @@ services.ratbagd.enable = true; hardware.graphics.enable32Bit = true; hardware.pulseaudio.support32Bit = true; - #Nvidia Hardware begins + #Nvidia Hardware begins hardware.nvidia = { # Modesetting is required. @@ -28,19 +29,19 @@ # Nvidia power management. Experimental, and can cause sleep/suspend to fail. # Enable this if you have graphical corruption issues or application crashes after waking - # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead + # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead # of just the bare essentials. - powerManagement.enable = false; + powerManagement.enable = lib.mkForce true; # Fine-grained power management. Turns off GPU when not in use. # Experimental and only works on modern Nvidia GPUs (Turing or newer). - powerManagement.finegrained = true; + powerManagement.finegrained = lib.mkForce true; # Use the NVidia open source kernel module (not to be confused with the # independent third-party "nouveau" open source driver). - # Support is limited to the Turing and later architectures. Full list of - # supported GPUs is at: - # https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus + # Support is limited to the Turing and later architectures. Full list of + # supported GPUs is at: + # https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus # Only available from driver 515.43.04+ # Currently alpha-quality/buggy, so false is currently the recommended setting. open = true; @@ -50,8 +51,8 @@ nvidiaSettings = true; # Optionally, you may need to select the appropriate driver version for your specific GPU. - package = config.boot.kernelPackages.nvidiaPackages.stable; - #Power Saving Features + package = config.boot.kernelPackages.nvidiaPackages.production; + #Power Saving Features prime = { offload = { enable = true; @@ -60,7 +61,7 @@ # Make sure to use the correct Bus ID values for your system! #intelBusId = "PCI:"; nvidiaBusId = "PCI:01:0:0"; - amdgpuBusId = "PCI:08:00:00"; + amdgpuBusId = "PCI:08:0:0"; }; }; @@ -114,6 +115,12 @@ driver = pkgs.libfprint-2-tod1-elan; }; }; + + #System specific packages to install + environment.systemPackages = with pkgs; [ + nvtop + ]; + # List services that you want to enable: services.actkbd = { enable = true; diff --git a/hosts/kuroko/hardware-configuration.nix b/hosts/kuroko/hardware-configuration.nix index 17e08dd..1120d78 100644 --- a/hosts/kuroko/hardware-configuration.nix +++ b/hosts/kuroko/hardware-configuration.nix @@ -14,14 +14,14 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/cc0edda8-8932-4357-9622-e7658b5a5a6d"; + { device = "/dev/disk/by-uuid/50c34d14-4b3a-483c-874e-b6412a474cfe"; fsType = "ext4"; }; - boot.initrd.luks.devices."luks-b0ba1647-1532-478b-b015-ab2abc2bc0d7".device = "/dev/disk/by-uuid/b0ba1647-1532-478b-b015-ab2abc2bc0d7"; + boot.initrd.luks.devices."luks-efb1b312-b89c-493e-952a-f70fc2ab0fbf".device = "/dev/disk/by-uuid/efb1b312-b89c-493e-952a-f70fc2ab0fbf"; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/92D9-2113"; + { device = "/dev/disk/by-uuid/1826-F6B8"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; };