2023-09-29 23:46:34 -04:00
|
|
|
{ pkgs, config, hyprland, hyprgrass, ags, ... }: let
|
2023-10-03 09:48:12 -04:00
|
|
|
configDir = (import ../vars.nix).configDir;
|
2023-06-24 04:59:54 -04:00
|
|
|
in
|
|
|
|
{
|
|
|
|
home.packages = [
|
2023-08-27 10:31:41 -04:00
|
|
|
pkgs.sassc
|
2023-10-03 09:18:50 -04:00
|
|
|
pkgs.flat-remix-icon-theme
|
2023-08-16 23:28:58 -04:00
|
|
|
pkgs.coloryou
|
2023-06-24 04:59:54 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
imports = [
|
2023-09-25 23:08:37 -04:00
|
|
|
hyprland.homeManagerModules.default
|
|
|
|
ags.homeManagerModules.default
|
2023-06-24 04:59:54 -04:00
|
|
|
];
|
|
|
|
|
2023-09-25 23:08:37 -04:00
|
|
|
programs.ags = {
|
|
|
|
enable = true;
|
2023-09-29 23:46:34 -04:00
|
|
|
package = ags.packages.x86_64-linux.default;
|
2023-09-25 23:08:37 -04:00
|
|
|
configDir = config.lib.file.mkOutOfStoreSymlink "${configDir}/ags";
|
|
|
|
};
|
|
|
|
|
2023-06-24 04:59:54 -04:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
2023-09-29 23:46:34 -04:00
|
|
|
package = hyprland.packages.x86_64-linux.default;
|
2023-09-29 00:34:18 -04:00
|
|
|
|
2023-06-24 04:59:54 -04:00
|
|
|
plugins = [
|
2023-09-29 23:46:34 -04:00
|
|
|
"${hyprgrass.packages.x86_64-linux.default}/lib/libhyprgrass.so"
|
2023-06-24 04:59:54 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
extraConfig = ''
|
2023-07-05 21:59:23 -04:00
|
|
|
env = XDG_DATA_DIRS, ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS
|
2023-06-27 10:13:14 -04:00
|
|
|
|
2023-09-07 23:18:39 -04:00
|
|
|
env = AGS_PATH, ${configDir}/ags/bin
|
2023-07-19 19:21:38 -04:00
|
|
|
env = HYPR_PATH, ${configDir}/hypr/scripts
|
2023-08-07 21:39:05 -04:00
|
|
|
env = LOCK_PATH, ${configDir}/gtklock/scripts
|
2023-06-27 10:13:14 -04:00
|
|
|
|
2023-06-24 04:59:54 -04:00
|
|
|
exec-once = ${pkgs.plasma5Packages.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1
|
|
|
|
source = ~/.config/hypr/main.conf
|
|
|
|
'';
|
|
|
|
};
|
2023-06-27 10:13:14 -04:00
|
|
|
|
2023-06-28 16:10:01 -04:00
|
|
|
xdg.configFile = {
|
|
|
|
"hypr/main.conf".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/hypr/main.conf";
|
|
|
|
"hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/hypr/hyprpaper.conf";
|
2023-06-27 10:13:14 -04:00
|
|
|
};
|
2023-06-24 04:59:54 -04:00
|
|
|
}
|