nixos/system/desktop.nix
Evie Litherland-Smith 3ab21edc2c Restore old waybar style using stylix to set color
Stylix sets color and font for waybar, custom config imports and uses
those
Update style with more consistent size, new look to the top and
transparency (with blur of course)

Slightly reduce gaps across whole UI to make better use of space without
compromising looks

Add TODO to restyle swaync using new method at some point...
2023-10-17 08:15:52 +01:00

125 lines
2.7 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./default.nix ./firefox.nix ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
protonvpn-cli
protonvpn-gui
transmission-gtk
signal-desktop
fractal
libreoffice
zotero
minesweep-rs
remmina
nomachine-client
];
stylix = {
image = ./wallpapers/default.jpg;
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
polarity = "dark";
opacity = {
popups = 0.8;
terminal = 0.8;
};
fonts = rec {
emoji = {
name = "Noto Color Emoji";
package = pkgs.noto-fonts-emoji;
};
monospace = {
name = "Fira Mono";
package = pkgs.fira-mono;
};
sansSerif = {
name = "Fira Sans";
package = pkgs.fira;
};
serif = sansSerif;
};
homeManagerIntegration.followSystem = true;
};
fonts = {
packages = with pkgs; [
fira
fira-mono
fira-code
fira-code-symbols
(nerdfonts.override { fonts = [ "FiraCode" ]; })
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
emacs-all-the-icons-fonts
];
fontconfig = {
enable = true;
defaultFonts = rec {
sansSerif = [ "Fira Sans" "DejaVu Sans" ];
serif = sansSerif;
monospace = [ "Fira Mono" "DejaVu Sans Mono" ];
emoji = [ "Noto Color Emoji" "Noto Emoji" ];
};
};
};
security = {
rtkit.enable = true;
pam.services.gtklock.enableGnomeKeyring = true;
};
sound.enable = true;
hardware = {
pulseaudio.enable = false;
bluetooth.enable = true;
};
services = {
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
xserver = {
enable = true;
layout = "gb";
xkbVariant = "";
displayManager.lightdm = {
enable = true;
greeters.gtk = {
enable = true;
cursorTheme = {
package = pkgs.volantes-cursors;
name = "volantes_cursors";
};
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus-Dark";
};
theme = {
package = pkgs.tokyo-night-gtk;
name = "Tokyonight-Dark-BL";
};
};
};
};
};
programs = {
seahorse.enable = true;
dconf.enable = true;
light.enable = true;
noisetorch.enable = true;
kdeconnect.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
}