CrOS/modules/desktops/sway.nix
TheWanderingCrow c426d8899f remove i3
2025-04-22 09:36:46 -04:00

39 lines
705 B
Nix

{
inputs,
pkgs,
lib,
config,
...
}: {
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
hyprlock
grim
slurp
swappy
];
};
programs.dconf.enable = true;
environment = lib.mkIf config.desktop.sway.enable {
sessionVariables = {
NIXOS_OZONE_WL = "1";
};
};
};
}