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

37 lines
785 B
Nix
Raw Permalink 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-09 09:12:23 +00:00
# wayland.windowManager.hyprland = {
# enable = true;
# nvidiaPatches = true;
# extraConfig = (import ./config.nix { inherit (config) home; });
2023-04-07 04:09:28 +00:00
2023-04-09 09:12:23 +00:00
# };
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;
2023-04-09 09:12:23 +00:00
home.packages = with pkgs; [
grim
imv
mimeo
xwayland
pulseaudio
slurp
swayidle
swaylock
waypipe
wireplumber
wf-recorder
wl-clipboard
wl-mirror
ydotool
];
2023-04-06 15:12:19 +00:00
}