nixos/system/hyprland.nix
Evie Litherland-Smith 78f614bd7b Disable plymouth, add theming to lightdm
Switch grim+slurp for watershot

Remove xdg-desktop-portal-gtk, use hyprland implementation only
2023-10-15 09:10:16 +01:00

48 lines
1,014 B
Nix

{ config, lib, pkgs, user, watershot, ... }:
{
imports = [ ./desktop.nix ];
nixpkgs.overlays = [
(final: prev: {
waybar = prev.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
})
];
environment.systemPackages = with pkgs; [
libsForQt5.polkit-kde-agent
xdg-utils
wlr-randr
hyprpaper
pipewire
wireplumber
wtype
wl-clipboard
watershot.packages.${pkgs.system}.default
grim
swayimg
pamixer
pavucontrol
playerctl
brightnessctl
];
services = {
blueman.enable = true;
gvfs.enable = true;
tumbler.enable = true;
xserver.displayManager.defaultSession = "hyprland";
};
xdg.portal.enable = true;
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
thunar = {
enable = true;
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
};
firefox.package = pkgs.firefox-wayland;
};
}