nixos/system/desktop.nix

67 lines
1.4 KiB
Nix

{ config, pkgs, user, ... }:
{
imports = [ ./default.nix ./firefox.nix ./chromium.nix ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
protonvpn-cli
protonvpn-gui
transmission-gtk
libreoffice
remmina
minesweep-rs
nomachine-client
];
security = {
rtkit.enable = true;
pam.services.gtklock.enableGnomeKeyring = true;
};
sound.enable = true;
hardware = {
pulseaudio.enable = false;
bluetooth.enable = true;
};
services = {
accounts-daemon.enable = true;
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 = "";
xkbOptions = "ctrl:nocaps";
displayManager.lightdm = {
enable = true;
greeters.gtk = {
inherit (config.home-manager.users.${user}.gtk)
cursorTheme iconTheme theme;
enable = true;
};
};
};
};
programs = {
seahorse.enable = true;
dconf.enable = true;
light.enable = true;
noisetorch.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
}