nix-configurations/home/features/desktop/hyprland/default.nix

21 lines
566 B
Nix
Raw Normal View History

2023-04-06 15:12:19 +00:00
{ inputs, config, lib, pkgs, ... }: {
imports = [ inputs.hyprland.homeManagerModules.default ];
2023-04-07 04:09:28 +00:00
programs = {
fish.loginShellInit = ''
if test (tty) = "/dev/tty1"
exec Hyprland &> /dev/null
end
'';
};
2023-04-06 15:12:19 +00:00
wayland.windowManager.hyprland = {
enable = true;
nvidiaPatches = true;
2023-04-07 04:09:28 +00:00
extraConfig =
(import ./config.nix { inherit (config) home; });
2023-04-06 15:12:19 +00:00
};
programs.waybar.package = pkgs.waybar.overrideAttrs
(oa: { mesonFlags = (oa.mesonFlags or [ ]) ++ [ "-Dexperimental=true" ]; });
programs.waybar.enable = true;
}