nixos/system/hyprland.nix
Evie Litherland-Smith e958efbb4d Switch anyrun, wlogout, etc back to rofi
Also add new usage of rofi (window switcher)

Remove watershot, TODO add grim/slurp binds back (later)
2023-10-30 17:54:50 +00:00

45 lines
964 B
Nix

{ config, lib, pkgs, user, ... }:
{
imports = [ ./desktop.nix ];
nixpkgs.config.chromium.commandLineArgs =
"--enable-features=UseOzonePlatform --ozone-platform=wayland";
environment = {
sessionVariables.NIXOS_OZONE_WL = "1";
systemPackages = with pkgs; [
libsForQt5.polkit-kde-agent
xdg-utils
wlr-randr
hyprpaper
pipewire
wireplumber
wtype
wl-clipboard
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;
};
}