nixos/system/desktop.nix
Evie Litherland-Smith 432207a239 Re-theme to tokyonight
Re-enable stylix auto mode, disable specific cases where there's a
better theme implementation (emacs, alacritty)

Update use of catppuccin to tokyonight theme, probably missed some
2023-10-12 07:21:40 +01:00

113 lines
2.4 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./default.nix ./firefox.nix ];
environment.systemPackages = with pkgs;
with libsForQt5.qt5; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
qtgraphicaleffects
qtsvg
qtquickcontrols2
catppuccin-sddm-corners
protonvpn-cli
protonvpn-gui
qbittorrent
signal-desktop
fractal
libreoffice
zotero
minesweep-rs
remmina
nomachine-client
];
stylix = {
image = ./wallpapers/waves/cat-waves.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
fonts = {
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 = {
name = "Fira Sans";
package = pkgs.fira;
};
};
homeManagerIntegration.followSystem = true;
};
fonts = {
packages = with pkgs; [
fira
fira-mono
fira-code
(nerdfonts.override { fonts = [ "FiraCode" ]; })
dejavu_fonts
noto-fonts-emoji
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" ];
};
};
};
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.sddm = {
enable = true;
theme = "catppuccin-sddm-corners";
autoNumlock = true;
settings = { General = { InputMethod = ""; }; };
};
};
};
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";
};
}