devos/profiles/sway/default.nix

70 lines
1.1 KiB
Nix
Raw Normal View History

2021-04-06 13:37:40 +02:00
{ config, lib, pkgs, ... }:
{
xdg.portal.enable = true;
sound.enable = true;
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
};
hardware.opengl = {
enable = true;
driSupport = true;
};
services.xserver.enable = true;
services.xserver.displayManager = {
defaultSession = "sway";
autoLogin = { enable = true; user = "mae"; };
gdm.enable = true;
};
fonts.fonts = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
mplus-outline-fonts
dina-font
proggyfonts
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
environment.systemPackages = with pkgs; [
brightnessctl
polkit_gnome
];
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
extraPackages = with pkgs; [
breeze-gtk
breeze-qt5
waybar
swaylock
swaybg
xwayland
wl-clipboard
grim
slurp
rofi
rofi-emoji
kitty
mako
sway-contrib.grimshot
i3status
alacritty
];
};
}