diff --git a/assets/.config/niri/config.kdl b/assets/.config/niri/config.kdl index c14b403..d292196 100644 --- a/assets/.config/niri/config.kdl +++ b/assets/.config/niri/config.kdl @@ -303,7 +303,6 @@ binds { Mod+Shift+F hotkey-overlay-title="Run an Application: brave" { spawn "brave"; } Mod+Shift+M { spawn "proton-mail"; } Mod+Shift+P { spawn "rofi-rbw"; } - Mod+Shift+S { spawn-sh "flameshot gui"; } Mod+Shift+T { spawn "thunar"; } Mod+Shift+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } @@ -542,8 +541,4 @@ binds { // The quit action will show a confirmation dialog to avoid accidental exits. Ctrl+Alt+Delete { quit; } - - // Powers off the monitors. To turn them back on, do any input like - // moving the mouse or pressing any other key. - Mod+Shift+P { power-off-monitors; } } diff --git a/config/headful.nix b/config/headful.nix index d29baa0..07e2aa0 100644 --- a/config/headful.nix +++ b/config/headful.nix @@ -22,6 +22,20 @@ # Enable niri window manager. programs.niri.enable = true; + # Display manager for graphical login + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --cmd niri"; + user = "greeter"; + }; + }; + }; + + # Suppress greetd's default virtual terminal log spam. + systemd.services.greetd.serviceConfig.LogStandardStream = "journal"; + # XDG Desktop Portals (used for wayland screen sharing, file pickets, etc.) xdg.portal = { enable = true; diff --git a/home/modules/development.nix b/home/modules/development.nix index 7efdcc2..8fe7950 100644 --- a/home/modules/development.nix +++ b/home/modules/development.nix @@ -23,6 +23,7 @@ # Other python3 ansible + jujutsu ]; # To prevent sysroot errors in rust-analyzer