nixos/roles/graphical.nix

117 lines
2.2 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
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-cjk-sans
noto-fonts-cjk-serif
2023-07-16 16:50:02 +03:00
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
];
home-manager.users.ivabus = {
gtk = {
enable = true;
theme = {
name = "Catppuccin-Macchiato-Standard-Blue-dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "blue" ];
tweaks = [ "rimless" ];
size = "standard";
variant = "macchiato";
};
};
iconTheme = {
name = "Mint-Y-Blue";
package = pkgs.cinnamon.mint-y-icons;
};
cursorTheme = {
name = "Catppuccin-Macchiato-Dark-Cursors";
package = pkgs.catppuccin-cursors.macchiatoDark;
};
font = {
name = "Ubuntu";
size = 9;
package = pkgs.ubuntu_font_family;
};
};
home.pointerCursor = {
name = "Catppuccin-Macchiato-Dark-Cursors";
package = pkgs.catppuccin-cursors.macchiatoDark;
x11.defaultCursor = "Catppuccin-Macchiato-Dark-Cursors";
};
};
2023-07-16 16:43:13 +03:00
}