summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-12-04 08:31:39 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2024-12-04 08:31:39 +0100
commitcbd0ed9d451c3c4244de00e7edfdba828c48f6bf (patch)
tree8c37282ed309b1c4683080e9350221aac511bdae /hosts/sif/default.nix
parente13abf01c7fdd612f1ff826387dac2ca30623d00 (diff)
downloadnixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.gz
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.bz2
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.xz
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.zip
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix8
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 = {