nixos/system/desktop.nix

43 lines
884 B
Nix

{ pkgs, user, ... }: {
imports = [ ./default.nix ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
];
security.rtkit.enable = true;
sound.enable = true;
hardware = {
pulseaudio.enable = false;
bluetooth.enable = true;
};
services = {
accounts-daemon.enable = true;
dbus.packages = with pkgs; [ gcr ];
greetd = {
enable = true;
settings.initial_session = { inherit user; };
};
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
xserver = {
layout = "gb";
xkbVariant = "";
xkbOptions = "ctrl:nocaps";
};
};
programs.dconf.enable = true;
gtk.iconCache.enable = true;
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
}