Made desktop env declarations common + sway scrsht

This commit is contained in:
2025-11-15 15:06:37 +02:00
parent 627000c03d
commit 78120dca0c
7 changed files with 39 additions and 34 deletions

24
modules/de/sway.nix Normal file
View File

@@ -0,0 +1,24 @@
{
config,
pkgs,
...
}: {
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
environment.systemPackages = with pkgs; [
mako # Notification daemon for Sway
playerctl
pavucontrol
blueman
xorg.xhost
# Screenshots
wl-copy
grim
slurp
# Other Sway-specific packages
];
programs.light.enable = true; # For brightness control
}