nixos/system/desktop.nix

115 lines
2.5 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, catppuccin-base16, ... }:
{
imports = [ ./default.nix ./firefox.nix ];
environment.systemPackages = with pkgs;
with libsForQt5.qt5; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
qtgraphicaleffects
qtsvg
qtquickcontrols2
2023-09-30 08:10:21 +01:00
catppuccin-sddm-corners
protonvpn-cli
protonvpn-gui
qbittorrent
signal-desktop
fractal
libreoffice
zotero
minesweep-rs
remmina
nomachine-client
];
stylix = {
autoEnable = false;
image = ./wallpapers/waves/cat-waves.png;
base16Scheme = "${catppuccin-base16}/base16/macchiato.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;
targets.chromium.enable = 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 = {
2023-09-30 08:10:21 +01:00
enable = true;
layout = "gb";
xkbVariant = "";
2023-09-30 08:10:21 +01:00
displayManager.sddm = {
enable = true;
theme = "catppuccin-sddm-corners";
autoNumlock = true;
settings = { General = { InputMethod = ""; }; };
};
};
};
programs = {
seahorse.enable = true;
dconf.enable = true;
light.enable = true;
2023-09-13 14:57:51 +01:00
noisetorch.enable = true;
2023-10-09 08:35:57 +01:00
kdeconnect.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
}