mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-14 19:14:10 -05:00
add swayfx
This commit is contained in:
parent
76ddc2347f
commit
3b875048a6
1 changed files with 35 additions and 0 deletions
35
modules/desktops/wayland/swayfx.nix
Normal file
35
modules/desktops/wayland/swayfx.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
config.programs.sway = lib.mkIf config.desktop.swayfx.enable {
|
||||
package = pkgs.swayfx;
|
||||
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.swayfx.enable {
|
||||
sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue