nix/modules/nixos/gnome.nix

55 lines
923 B
Nix
Raw Permalink Normal View History

2024-01-09 16:46:31 -06:00
{
pkgs,
lib,
...
}: {
2024-01-04 13:40:14 -06:00
imports = [./pipewire.nix];
services.xserver.enable = true;
services.xserver.displayManager.gdm = {
2024-01-09 16:46:31 -06:00
enable = lib.mkDefault false;
2024-01-04 13:40:14 -06:00
};
services.xserver.desktopManager.gnome = {
enable = true;
};
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gnome3";
enableSSHSupport = true;
};
xdg.portal = {
enable = true;
};
services.dbus.enable = true;
services.gvfs = {
enable = true;
};
2024-01-09 16:46:31 -06:00
services.udev.packages = with pkgs; [gnome.gnome-settings-daemon];
2024-01-04 13:40:14 -06:00
environment = {
variables = {
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
VISUAL = "hx";
PAGER = "less";
MANPAGER = "less";
};
systemPackages = with pkgs; [
2024-01-09 16:46:31 -06:00
gnomeExtensions.appindicator
2024-01-04 13:40:14 -06:00
libinput
libinput-gestures
libnotify
noto-fonts
2024-01-09 16:46:31 -06:00
pavucontrol
2024-01-04 13:40:14 -06:00
wl-clipboard
zathura
];
};
}