2024-02-02 00:00:54 -06:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2024-01-04 13:40:14 -06:00
|
|
|
imports = [./pipewire.nix];
|
|
|
|
|
2024-05-26 09:48:52 -05:00
|
|
|
# mkForce is used liberally to take precedence over KDE Plasma
|
|
|
|
# so I can have both "usable" at once
|
|
|
|
|
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-05-26 09:48:52 -05:00
|
|
|
enable = lib.mkForce true; # take precedence over KDE's SDDM
|
2024-01-04 13:40:14 -06:00
|
|
|
};
|
2024-05-26 09:48:52 -05:00
|
|
|
services.displayManager.execCmd = lib.mkForce "exec ${pkgs.gnome.gdm}/bin/gdm";
|
|
|
|
services.displayManager.defaultSession = lib.mkForce "gnome";
|
|
|
|
programs.ssh.askPassword = "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass";
|
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
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|