nixos/common/graphical.nix

63 lines
1.1 KiB
Nix
Raw Normal View History

2023-07-16 16:43:13 +03:00
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
firefox
alacritty
2023-07-16 19:00:44 +03:00
pavucontrol
mpv
glib
ffmpeg
cinnamon.mint-y-icons
2023-07-16 16:43:13 +03:00
];
2023-07-16 19:00:44 +03:00
services.fwupd.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
};
};
};
programs.sway = {
enable = true;
extraPackages = with pkgs; [
waybar
grim
slurp
wf-recorder
sway-launcher-desktop
swaybg
swayidle
swaylock
poweralertd
kanshi
catppuccin-cursors
libsForQt5.qt5ct
mako
pulseaudio
brightnessctl
];
wrapperFeatures.gtk = true;
};
2023-07-16 16:43:13 +03:00
2023-07-16 19:00:44 +03:00
xdg.portal = {
enable = true;
wlr.enable = true;
};
2023-07-16 16:43:13 +03:00
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
2023-07-16 16:50:02 +03:00
services.dbus.enable = true;
2023-07-16 19:00:44 +03:00
2023-07-16 16:50:02 +03:00
fonts.fonts = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
jetbrains-mono
];
2023-07-16 16:43:13 +03:00
}