nixos/system/desktop.nix

70 lines
1.4 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
imports = [ ./default.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 = {
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 = {
2023-09-30 08:10:21 +01:00
enable = true;
layout = "gb";
xkbVariant = "";
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;
2023-09-13 14:57:51 +01:00
noisetorch.enable = true;
kdeconnect.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
}