2024-10-09 03:36:08 -04:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-08-24 22:16:51 -04:00
|
|
|
imports = [
|
2024-10-07 11:42:34 -04:00
|
|
|
./greetd
|
2024-08-24 22:16:51 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.sway = {
|
|
|
|
enable = true;
|
|
|
|
xwayland.enable = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
swaylock
|
|
|
|
swaybg
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# Allow swaylock to function
|
|
|
|
security.pam.services.swaylock = {};
|
|
|
|
|
|
|
|
xdg.portal = {
|
|
|
|
wlr = {
|
|
|
|
enable = true;
|
|
|
|
settings.screencast = {
|
|
|
|
max_fps = 60;
|
|
|
|
chooser_type = "simple";
|
|
|
|
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or -B 00000066 -b 00000099";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
extraPortals = with pkgs; [
|
|
|
|
xdg-desktop-portal-gtk
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|