stability aquired

This commit is contained in:
alisceon 2025-12-04 15:40:58 +01:00
parent 78c1bdeab5
commit c4971ee746
4 changed files with 50 additions and 43 deletions

View file

@ -9,13 +9,12 @@
wmctrl
seahorse
libsecret
pkgs.xdg-desktop-portal-gtk
gnome-text-editor
nautilus
playerctl
libnotify
];
environment.sessionVariables = rec {
XDG_CURRENT_DESKTOP = "GNOME:sway";
};
# enable Sway window manager
programs = {
sway = {
@ -37,6 +36,17 @@
kitty-themes
];
}; # end sway
uwsm = {
enable = true;
waylandCompositors = {
sway = {
prettyName = "Sway";
comment = "Sway compositor managed by UWSM";
binPath = "${pkgs.sway}/bin/sway";
extraArgs = [ "--unsupported-gpu" ];
};
};
}; # end uwsm
light = {
enable = true;
}; # end light
@ -63,7 +73,7 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'uwsm start -- sway-uwsm.desktop'";
user = "greeter";
}; # end default_session
}; # end settings
@ -77,6 +87,7 @@
};
}; # end logind
dbus.packages = [ pkgs.seahorse pkgs.gnome-keyring pkgs.gcr ];
gnome.gcr-ssh-agent.enable = true;
}; # end services
users.users.alisceon.extraGroups = [ "video" "input" ];
}