nixos/system/hyprland.nix

48 lines
1,014 B
Nix
Raw Normal View History

{ 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; [
2023-09-11 13:47:08 +01:00
libsForQt5.polkit-kde-agent
xdg-utils
wlr-randr
hyprpaper
pipewire
wireplumber
2023-09-05 18:44:29 +01:00
wtype
wl-clipboard
watershot.packages.${pkgs.system}.default
grim
swayimg
pamixer
pavucontrol
playerctl
brightnessctl
];
services = {
blueman.enable = true;
gvfs.enable = true;
tumbler.enable = true;
2023-09-30 08:10:21 +01:00
xserver.displayManager.defaultSession = "hyprland";
};
xdg.portal.enable = true;
2023-08-03 16:01:13 +01:00
programs = {
hyprland = {
enable = true;
2023-09-11 23:04:29 +01:00
xwayland.enable = true;
};
2023-08-03 16:01:13 +01:00
thunar = {
enable = true;
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
};
firefox.package = pkgs.firefox-wayland;
2023-08-03 16:01:13 +01:00
};
}