mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 12:31:55 -05:00
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
24 lines
513 B
Nix
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];
|
|
};
|
|
};
|
|
}
|