Manage sway extra packages in home-manager module

This commit is contained in:
Jakob Lechner 2024-06-13 13:54:58 +02:00
parent 12463fc3b1
commit 4f5d6c4456
2 changed files with 7 additions and 10 deletions

View file

@ -3,15 +3,8 @@
lib.mkIf (config.jalr.gui.enable && config.jalr.gui.desktop == "sway") {
programs.sway = {
enable = true;
# FIXME: move to home manager
extraPackages = with pkgs; [
grim
mako
gammastep
slurp
wl-clipboard
xwayland
];
xwayland.enable = true;
wrapperFeatures.gtk = true;
};
security.polkit.enable = true;

View file

@ -47,9 +47,13 @@ in
];
} // (lib.mkIf nixosConfig.jalr.gui.enable {
home.packages = with pkgs; [
gsettings
swappy # screenshot editing
sway-contrib.grimshot # screenshots
wdisplays # graphical output manager
gsettings
mako
slurp
wl-clipboard
];
home.sessionVariables = {