nixos/system/hyprland.nix
Evie Litherland-Smith e94a4dde31 Move font confit to flake.nix, add to stylix
Change fonts to all use Fira family, Fira Sans for UI Fira Sans Mono for
monospace and FiraCode still for Emacs
2023-10-07 10:19:56 +01:00

51 lines
1 KiB
Nix

{ config, lib, pkgs, user, ... }:
{
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
grim
slurp
swayimg
pamixer
pavucontrol
playerctl
brightnessctl
];
services = {
blueman.enable = true;
gvfs.enable = true;
tumbler.enable = true;
xserver.displayManager.defaultSession = "hyprland";
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
thunar = {
enable = true;
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
};
firefox.package = pkgs.firefox-wayland;
};
}