2023-03-02 17:14:11 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# file management
|
|
|
|
p7zip
|
|
|
|
unzip
|
|
|
|
zip
|
|
|
|
gnome.file-roller
|
2023-11-08 18:06:36 +01:00
|
|
|
gnome.nautilus
|
|
|
|
gnome.sushi
|
2023-03-02 17:14:11 +01:00
|
|
|
|
|
|
|
# thumbnails
|
|
|
|
webp-pixbuf-loader
|
|
|
|
ffmpegthumbnailer
|
|
|
|
];
|
|
|
|
programs = {
|
|
|
|
dconf.enable = true;
|
|
|
|
noisetorch.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-05-18 15:19:31 +02:00
|
|
|
programs.sway = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
foot
|
|
|
|
swaylock-effects
|
|
|
|
swayidle
|
|
|
|
];
|
2023-07-01 03:11:03 +02:00
|
|
|
extraSessionCommands = ''
|
|
|
|
# session
|
|
|
|
export XDG_SESSION_TYPE=wayland
|
|
|
|
export XDG_SESSION_DESKTOP=sway
|
|
|
|
export XDG_CURRENT_DESKTOP=sway
|
|
|
|
# wayland
|
|
|
|
export NIXOS_OZONE_WL=1
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
|
export QT_QPA_PLATFORM=wayland
|
|
|
|
export SDL_VIDEODRIVER=wayland
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
'';
|
|
|
|
wrapperFeatures = {
|
|
|
|
base = true;
|
|
|
|
gtk = true;
|
|
|
|
};
|
2023-05-18 15:19:31 +02:00
|
|
|
};
|
2023-07-13 08:45:39 +02:00
|
|
|
|
2023-11-08 18:06:36 +01:00
|
|
|
services.dbus.packages = with pkgs; [
|
|
|
|
darkman
|
|
|
|
# gcr needed for gnome3 pinentry, managed in Home-Manager
|
|
|
|
gcr
|
|
|
|
gnome.sushi
|
|
|
|
];
|
2023-05-18 19:10:41 +02:00
|
|
|
xdg.portal.enable = true;
|
|
|
|
xdg.portal.wlr.enable = true;
|
2023-11-08 18:06:36 +01:00
|
|
|
xdg.portal.extraPortals = with pkgs; [
|
|
|
|
darkman
|
|
|
|
xdg-desktop-portal-gtk
|
|
|
|
];
|
2023-05-18 15:19:31 +02:00
|
|
|
|
2023-03-02 17:14:11 +01:00
|
|
|
services = {
|
|
|
|
# mounting
|
|
|
|
gvfs.enable = true;
|
|
|
|
udisks2.enable = true;
|
|
|
|
devmon.enable = true;
|
|
|
|
|
|
|
|
# thumbnails
|
|
|
|
tumbler.enable = true;
|
|
|
|
};
|
|
|
|
}
|