nixos/system/desktop.nix

49 lines
1,017 B
Nix

{ pkgs, user, ... }: {
imports = [ ./default.nix ];
environment.systemPackages = with pkgs; [
dex
libnotify
libcamera
glib
gsettings-desktop-schemas
];
security = {
polkit.enable = true;
rtkit.enable = true;
};
sound.enable = false;
hardware.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;
support32Bit = true;
};
audio.enable = true;
jack.enable = true;
pulse.enable = true;
wireplumber.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";
};
xdg.portal.enable = true;
}