nixos/roles/graphical.nix

83 lines
1.3 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
2023-07-17 07:54:37 +03:00
bottom
2023-07-16 19:00:44 +03:00
mpv
glib
ffmpeg
2023-07-28 15:39:50 +03:00
cinnamon.nemo
2023-07-17 07:54:37 +03:00
usbmuxd
2023-07-17 10:08:51 +03:00
telegram-desktop
2023-07-28 15:39:50 +03:00
keepassxc
2023-07-16 16:43:13 +03:00
];
2023-07-28 15:39:50 +03:00
2023-07-16 19:00:44 +03:00
services.greetd = {
enable = true;
2023-07-17 10:08:51 +03:00
vt = 7;
2023-07-16 19:00:44 +03:00
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
libsForQt5.qt5ct
mako
pulseaudio
brightnessctl
2023-07-17 10:08:51 +03:00
wdisplays
2023-07-16 19:00:44 +03:00
];
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-28 15:39:50 +03:00
alsa.support32Bit = true;
jack.enable = true;
};
qt = {
enable = true;
platformTheme = "gtk2";
style = "gtk2";
2023-07-16 16:43:13 +03:00
};
2023-07-16 16:50:02 +03:00
services.dbus.enable = true;
2023-07-16 19:00:44 +03:00
2023-07-28 15:39:50 +03:00
fonts.packages = with pkgs; [
2023-07-16 16:50:02 +03:00
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
jetbrains-mono
2023-07-17 10:08:51 +03:00
font-awesome
2023-07-28 15:39:50 +03:00
#google-fonts
liberation_ttf
open-sans
roboto
roboto-mono
kochi-substitute
2023-07-16 16:50:02 +03:00
];
2023-07-16 16:43:13 +03:00
}