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 = {
|
|
|
|
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
|
|
|
|
grim
|
|
|
|
libinput
|
|
|
|
libinput-gestures
|
|
|
|
libnotify
|
|
|
|
noto-fonts
|
|
|
|
pamixer
|
|
|
|
playerctl
|
|
|
|
pulsemixer
|
|
|
|
slurp
|
|
|
|
swaybg
|
|
|
|
swayidle
|
|
|
|
swaylock
|
|
|
|
waybar
|
|
|
|
wl-clipboard
|
|
|
|
zathura
|
2024-09-12 12:05:22 -05:00
|
|
|
/*
|
|
|
|
gimp
|
|
|
|
inkscape
|
|
|
|
krita
|
|
|
|
pavucontrol
|
|
|
|
pulseaudio
|
|
|
|
rclone
|
|
|
|
restic
|
|
|
|
steam
|
|
|
|
vlc
|
|
|
|
vulkan-tools
|
|
|
|
weechat
|
|
|
|
wine
|
|
|
|
*/
|
2024-01-04 13:40:14 -06:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|