summaryrefslogtreecommitdiff
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
parente13abf01c7fdd612f1ff826387dac2ca30623d00 (diff)
downloadnixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.gz
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.bz2
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.tar.xz
nixos-cbd0ed9d451c3c4244de00e7edfdba828c48f6bf.zip
...
-rw-r--r--accounts/gkleen@sif/default.nix4
-rw-r--r--accounts/gkleen@sif/hyprland.nix3
-rw-r--r--hosts/sif/default.nix8
3 files changed, 13 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 2de98765..c6e479ec 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -267,7 +267,7 @@ in {
267 layer = "top"; 267 layer = "top";
268 position = "top"; 268 position = "top";
269 height = 14; 269 height = 14;
270 output = "eDP-1"; 270 output = [ "eDP-1" "DP-2" "DP-3" ];
271 modules-left = [ "hyprland/workspaces" ]; 271 modules-left = [ "hyprland/workspaces" ];
272 modules-center = [ "hyprland/window" ]; 272 modules-center = [ "hyprland/window" ];
273 modules-right = [ "custom/worktime" "custom/worktime-today" "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; 273 modules-right = [ "custom/worktime" "custom/worktime-today" "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ];
@@ -406,7 +406,7 @@ in {
406 layer = "top"; 406 layer = "top";
407 position = "top"; 407 position = "top";
408 height = 14; 408 height = 14;
409 output = "!eDP-1"; 409 output = [ "!eDP-1" "!DP-2" "!DP-3" ];
410 modules-left = [ "hyprland/workspaces" ]; 410 modules-left = [ "hyprland/workspaces" ];
411 modules-center = [ "hyprland/window" ]; 411 modules-center = [ "hyprland/window" ];
412 modules-right = [ "clock" ]; 412 modules-right = [ "clock" ];
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index 3216f307..52dee24f 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -111,6 +111,9 @@ in {
111 { name = "tpps/2-elan-trackpoint"; 111 { name = "tpps/2-elan-trackpoint";
112 sensitivity = 0.2; 112 sensitivity = 0.2;
113 } 113 }
114 { name = "logitech-ergo-m575";
115 sensitivity = 1.333;
116 }
114 ]; 117 ];
115 118
116 gestures = { 119 gestures = {
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 = {