nix/modules/nixos/gnome.nix

86 lines
1.4 KiB
Nix
Raw Normal View History

2024-02-02 00:00:54 -06:00
{
pkgs,
lib,
...
}: {
2024-01-04 13:40:14 -06:00
imports = [./pipewire.nix];
2024-02-02 00:00:54 -06:00
services.xserver.enable = lib.mkDefault true;
2024-01-04 13:40:14 -06:00
services.xserver.displayManager.gdm = {
2024-02-02 00:00:54 -06:00
enable = lib.mkDefault true;
2024-01-04 13:40:14 -06:00
};
hardware.pulseaudio.enable = false;
services.xserver.desktopManager.gnome = {
2024-02-02 00:00:54 -06:00
enable = lib.mkDefault true;
2024-01-16 21:14:14 -06:00
extraGSettingsOverridePackages = [pkgs.gnome.mutter];
extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
'';
2024-01-04 13:40:14 -06:00
};
programs.gnupg.agent = {
enable = true;
# pinentryFlavor = "gnome3";
2024-01-04 13:40:14 -06:00
enableSSHSupport = true;
};
xdg.portal = {
enable = true;
};
services.dbus.enable = true;
services.gvfs = {
enable = true;
};
environment = {
variables = {
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
VISUAL = "hx";
PAGER = "less";
MANPAGER = "less";
};
systemPackages = with pkgs; [
2024-02-02 00:00:54 -06:00
gnome.gnome-power-manager
2024-01-04 13:40:14 -06:00
brightnessctl
feh
# gimp
grim
# inkscape
# krita
libinput
libinput-gestures
libnotify
# lutris
# nil
# nixpkgs-fmt
noto-fonts
pamixer
# pavucontrol
playerctl
# pulseaudio
pulsemixer
# rclone
# restic
slurp
# steam
swaybg
swayidle
swaylock
# vlc
# vulkan-tools
waybar
# weechat
# wine
wl-clipboard
zathura
];
};
}