nixos/system/desktop.nix

49 lines
1,017 B
Nix
Raw Normal View History

{ pkgs, user, ... }: {
imports = [ ./default.nix ];
environment.systemPackages = with pkgs; [
dex
libnotify
2024-01-23 20:13:38 +00:00
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 = "";
2023-12-18 08:15:18 +00:00
xkbOptions = "ctrl:nocaps";
};
};
programs.dconf.enable = true;
gtk.iconCache.enable = true;
2023-11-09 11:48:40 +00:00
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
2024-01-29 14:38:21 +00:00
xdg.portal.enable = true;
}