nixos/system/desktop.nix
2023-11-04 10:26:47 +00:00

79 lines
1.6 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./default.nix ./emacs.nix ./chromium.nix ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
protonvpn-cli
protonvpn-gui
transmission-gtk
fractal
discord
teams-for-linux
libreoffice
zotero
minesweep-rs
nomachine-client
];
security = {
rtkit.enable = true;
pam.services.gtklock.enableGnomeKeyring = true;
};
sound.enable = true;
hardware = {
pulseaudio.enable = false;
bluetooth.enable = true;
};
services = {
dbus.packages = with pkgs; [ gcr ];
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";
};
}