2023-03-02 17:14:11 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# file management
|
|
|
|
p7zip
|
|
|
|
unzip
|
|
|
|
zip
|
|
|
|
gnome.file-roller
|
2023-06-11 05:17:07 +02:00
|
|
|
pcmanfm
|
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-05-18 19:10:41 +02:00
|
|
|
# needed for gnome3 pinentry
|
|
|
|
services.dbus.packages = [pkgs.gcr];
|
|
|
|
xdg.portal.enable = true;
|
|
|
|
xdg.portal.wlr.enable = true;
|
2023-07-03 21:23:25 +02:00
|
|
|
xdg.portal.extraPortals = [pkgs.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;
|
|
|
|
};
|
|
|
|
}
|