2024-05-27 16:07:29 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-05-27 16:07:29 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf (config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable) {
|
2024-08-02 17:58:08 -04:00
|
|
|
ar.home = {
|
|
|
|
apps = {
|
|
|
|
kitty.enable = lib.mkDefault true;
|
|
|
|
rofi.enable = lib.mkDefault true;
|
2024-08-12 09:04:16 -04:00
|
|
|
swaylock.enable = lib.mkDefault true;
|
2024-08-02 17:58:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
2024-11-23 08:26:21 -05:00
|
|
|
hypridle.enable = lib.mkDefault config.ar.home.desktop.hyprland.enable;
|
2024-08-02 17:58:08 -04:00
|
|
|
mako.enable = lib.mkDefault true;
|
2024-09-11 14:26:10 -04:00
|
|
|
pipewire-inhibit.enable = lib.mkDefault true;
|
2024-11-23 08:26:21 -05:00
|
|
|
swayidle.enable = lib.mkDefault config.ar.home.desktop.sway.enable;
|
2024-08-09 20:23:44 -04:00
|
|
|
swayosd.enable = lib.mkDefault true;
|
2024-08-02 17:58:08 -04:00
|
|
|
waybar.enable = lib.mkDefault true;
|
|
|
|
};
|
2024-05-27 16:07:29 -04:00
|
|
|
};
|
|
|
|
|
2024-06-11 21:16:05 -04:00
|
|
|
home.packages = with pkgs; [
|
2024-07-25 18:03:57 -04:00
|
|
|
blueberry
|
2024-10-14 23:53:48 -04:00
|
|
|
file-roller
|
2024-08-06 19:13:07 -04:00
|
|
|
libnotify
|
2024-06-11 21:16:05 -04:00
|
|
|
networkmanagerapplet
|
|
|
|
];
|
|
|
|
|
2024-08-09 20:23:44 -04:00
|
|
|
services.playerctld.enable = lib.mkDefault true;
|
2024-08-02 17:58:08 -04:00
|
|
|
|
2024-06-11 21:16:05 -04:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
configPackages =
|
2024-07-03 00:40:04 -04:00
|
|
|
lib.optional (config.ar.home.desktop.hyprland.enable) pkgs.xdg-desktop-portal-hyprland;
|
2024-06-11 21:16:05 -04:00
|
|
|
extraPortals =
|
2024-07-13 17:21:10 -04:00
|
|
|
[pkgs.xdg-desktop-portal-gtk]
|
|
|
|
++ lib.optional (config.ar.home.desktop.hyprland.enable) pkgs.xdg-desktop-portal-hyprland;
|
2024-06-11 21:16:05 -04:00
|
|
|
};
|
2024-05-27 16:07:29 -04:00
|
|
|
};
|
|
|
|
}
|