nixos/system/desktop.nix
2024-01-12 22:06:16 +00:00

46 lines
923 B
Nix

{ pkgs, user, ... }: {
imports = [ ./default.nix ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas
];
security = {
polkit.enable = true;
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";
};
}