nixos/desktop/hyprland.nix

36 lines
800 B
Nix

{pkgs, ...}: {
imports = [./sddm.nix];
nixpkgs.overlays = [
(self: super: {
waybar = super.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
});
})
];
services.blueman.enable = true;
environment.systemPackages = with pkgs; [
pavucontrol
pamixer
pulseaudio
grim
slurp
];
security.pam.services.swaylock = {};
programs.hyprland = {
enable = true;
xwayland = {
enable = true;
hidpi = true;
};
};
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
}