2024-09-27 11:41:52 +01:00
|
|
|
{ pkgs, username, ... }:
|
|
|
|
{
|
2024-09-27 16:19:42 +01:00
|
|
|
environment = {
|
|
|
|
sessionVariables.GRIM_DEFAULT_DIR = "$HOME/Pictures/Screenshots";
|
|
|
|
systemPackages = [ pkgs.xarchiver ];
|
|
|
|
};
|
2024-09-27 11:41:52 +01:00
|
|
|
programs = {
|
|
|
|
thunar = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.xfce; [
|
|
|
|
thunar-archive-plugin
|
|
|
|
thunar-volman
|
|
|
|
];
|
|
|
|
};
|
|
|
|
sway.enable = true;
|
|
|
|
};
|
|
|
|
services = {
|
|
|
|
tumbler.enable = true;
|
|
|
|
udisks2.enable = true;
|
|
|
|
gvfs = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.gnome3.gvfs;
|
|
|
|
};
|
|
|
|
greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings =
|
|
|
|
let
|
|
|
|
default_session.command = "sway";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
inherit default_session;
|
|
|
|
initial_session = {
|
|
|
|
inherit (default_session) command;
|
|
|
|
user = username;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
style = "adwaita";
|
|
|
|
platformTheme = "gnome";
|
|
|
|
};
|
2024-09-27 16:19:42 +01:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes
|
|
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
|
|
};
|
2024-09-27 11:41:52 +01:00
|
|
|
}
|