diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-04-22 21:11:00 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-04-22 21:11:00 +0530 | 
| commit | fd7eaea7fb4941b2e5c879e5d10f29de97add28c (patch) | |
| tree | 740245b8995cb5a182f68cf8f3e44da09521e72e /modules | |
| parent | 76984c2db3af75bf06a0f88ad332ccf895df52f1 (diff) | |
update
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/amd.nix | 2 | ||||
| -rw-r--r-- | modules/login.nix | 13 | ||||
| -rw-r--r-- | modules/nvidia.nix | 2 | 
3 files changed, 12 insertions, 5 deletions
| diff --git a/modules/amd.nix b/modules/amd.nix index e16e3e9..351318c 100644 --- a/modules/amd.nix +++ b/modules/amd.nix @@ -3,6 +3,6 @@ let    kver = config.boot.kernelPackages.kernel.version;  in  { -  boot.kernelParams = [ "amd_pstate=active" "amd_iommu=on" ]; +  boot.kernelParams = [ "amd_pstate=active" "amd_iommu=on" "amdgpu.sg_display=0" ];    hardware.cpu.amd.updateMicrocode = config.hardware.enableRedistributableFirmware;  } diff --git a/modules/login.nix b/modules/login.nix index 3d9fb31..a9beb4c 100644 --- a/modules/login.nix +++ b/modules/login.nix @@ -1,7 +1,7 @@  { pkgs, ... }:  { -  environment.systemPackages = with pkgs; [ +  /* environment.systemPackages = with pkgs; [      greetd.tuigreet      greetd.greetd    ]; @@ -14,13 +14,20 @@          user = "greeter";        };      }; +  }; */ +  services.displayManager.sddm = { +    enable = true; +    wayland = { +      enable = true; +      compositor = "kwin"; +    };    };    services.logind.extraConfig = ''      HandlePowerKey=ignore    ''; -  systemd.services.greetd.serviceConfig = { +  /* systemd.services.greetd.serviceConfig = {      Type = "idle";      StandardInput = "tty";      StandardOutput = "tty"; @@ -28,7 +35,7 @@      TTYReset = true;      TTYVHangup = true;      TTYVTDisallocate = true; -  }; +  }; */    security.polkit.enable = true; diff --git a/modules/nvidia.nix b/modules/nvidia.nix index 5f49c8f..1913459 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -9,7 +9,7 @@      powerManagement.finegrained = true;      open = false;      nvidiaSettings = true; -    package = config.boot.kernelPackages.nvidiaPackages.stable; +    package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;      prime = {        offload = { | 
