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 01:05:07 -04:00
|
|
|
gtklock.enable = lib.mkDefault true;
|
2024-08-02 17:58:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
mako.enable = lib.mkDefault true;
|
|
|
|
pipewire-inhibit.enable = lib.mkDefault true;
|
|
|
|
swayidle.enable = lib.mkDefault true;
|
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
|
|
|
};
|
|
|
|
|
|
|
|
dconf = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2024-07-18 21:05:35 -04:00
|
|
|
"org/gnome/desktop/wm/preferences".button-layout = "";
|
2024-06-21 22:14:07 -04:00
|
|
|
"org/gnome/nm-applet".disable-connected-notifications = 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-06-17 19:28:52 -04:00
|
|
|
gnome.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
|
|
|
};
|
|
|
|
}
|