fix sway launch cmd + forgejo ssh port at 2222

This commit is contained in:
waveringana 2025-06-01 04:41:46 -04:00
parent 1f0cf8369b
commit 44f6f390ff
2 changed files with 16 additions and 2 deletions

View file

@ -1,4 +1,14 @@
{ config, pkgs, lib, ... }:
let
swayConfig = pkgs.writeText "greetd-sway-config" ''
exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l; swaymsg exit"
bindsym Mod4+shift+e exec swaynag \
-t warning \
-m "what you want do :3" \
-b "Poweroff" "systemctl poweroff" \
-b "Reboot" "systemctl reboot"
'';
in
{
environment.systemPackages = with pkgs; [
grim
@ -18,8 +28,9 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway --unsupported-gpu";
user = "greeter";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
#command = "${pkgs.sway}/bin/sway --unsupported-gpu --config ${swayConfig}";
user = "regent";
};
};
};