collapse wayland programs.nix into the desktop

This commit is contained in:
TheWanderingCrow 2024-12-28 23:23:05 -05:00
parent b582f716c1
commit 8a6e0b5c9e
5 changed files with 19 additions and 29 deletions

View file

@ -5,13 +5,26 @@
config,
...
}: {
config = {
programs.sway = lib.mkIf config.desktop.sway.enable {
enable = true;
xwayland.enable = true;
};
programs.dconf.enable = true;
config.programs.sway = lib.mkIf config.desktop.sway.enable {
enable = true;
xwayland.enable = true;
extraPackages = with pkgs;
[
foot
wofi
swaynotificationcenter
udiskie
polkit_gnome
swayidle
sway-audio-idle-inhibit
swaylock-effects
sway-contrib.grimshot
waybar
wl-clipboard
xorg.xrandr
];
};
programs.dconf.enable = true;
config.environment = lib.mkIf config.desktop.sway.enable {
sessionVariables = {