You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

{ inputs, lib, config, pkgs, ... }: {
imports = [
../common
../common/wayland-wm
inputs.hyprland.homeManagerModules.default
];
programs = {
fish.loginShellInit = ''
if test (tty) = "/dev/tty1"
exec Hyprland &> /dev/null
end
'';
zsh.loginExtra = ''
if [ "$(tty)" = "/dev/tty1" ]; then
exec Hyprland &> /dev/null
fi
'';
zsh.profileExtra = ''
if [ "$(tty)" = "/dev/tty1" ]; then
exec Hyprland &> /dev/null
fi
'';
};
home.packages = with pkgs; [
inputs.hyprwm-contrib.packages.${system}.grimblast
swaybg
swayidle
# TODO
# inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland
];
programs.waybar.package = pkgs.waybar.overrideAttrs (oa: {
mesonFlags = (oa.mesonFlags or [ ]) ++ [ "-Dexperimental=true" ];
});
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.default;
extraConfig =
(import ./monitors.nix {
inherit lib;
inherit (config) monitors;
}) +
(import ./config.nix {
inherit (config) home colorscheme wallpaper;
});
};
}