diff options
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 { | |||
467 | 467 | ||
468 | greetd = { | 468 | greetd = { |
469 | enable = true; | 469 | enable = true; |
470 | # settings.default_session.command = let | ||
471 | # cfg = config.programs.regreet; | ||
472 | # in pkgs.writeShellScript "greeter" '' | ||
473 | # modprobe -r nvidia_drm | ||
474 | |||
475 | # exec ${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${lib.getExe cfg.package} | ||
476 | # ''; | ||
470 | }; | 477 | }; |
471 | }; | 478 | }; |
472 | 479 | ||
@@ -607,6 +614,7 @@ in { | |||
607 | }; | 614 | }; |
608 | 615 | ||
609 | nvidia = { | 616 | nvidia = { |
617 | open = true; | ||
610 | modesetting.enable = true; | 618 | modesetting.enable = true; |
611 | powerManagement.enable = true; | 619 | powerManagement.enable = true; |
612 | prime = { | 620 | prime = { |