nixcfg/homeManagerModules/desktop/sway/default.nix
Aly Raffauf 3d432dffdf
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
home/sway: consolidate secondary modules
2024-07-21 21:32:06 -04:00

24 lines
513 B
Nix

{
config,
lib,
pkgs,
...
}: {
imports = [./randomWallpaper.nix];
config = lib.mkIf config.ar.home.desktop.sway.enable {
ar.home.theme.gtk.hideTitleBar =
if config.wayland.windowManager.sway.package == pkgs.sway
then true
else false;
wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;};
xdg.portal = {
enable = true;
configPackages = [pkgs.xdg-desktop-portal-wlr];
extraPortals = [pkgs.xdg-desktop-portal-wlr];
};
};
}