From cbd0ed9d451c3c4244de00e7edfdba828c48f6bf Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 Dec 2024 08:31:39 +0100 Subject: ... --- hosts/sif/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hosts/sif') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 1a2748e9..7c8da63a 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -467,6 +467,13 @@ in { greetd = { enable = true; + # settings.default_session.command = let + # cfg = config.programs.regreet; + # in pkgs.writeShellScript "greeter" '' + # modprobe -r nvidia_drm + + # exec ${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${lib.getExe cfg.package} + # ''; }; }; @@ -607,6 +614,7 @@ in { }; nvidia = { + open = true; modesetting.enable = true; powerManagement.enable = true; prime = { -- cgit v1.2.3