summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/amd.nix2
-rw-r--r--modules/login.nix13
-rw-r--r--modules/nvidia.nix2
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 = {