43 lines
888 B
Nix
43 lines
888 B
Nix
|
{ pkgs, username, ... }:
|
||
|
{
|
||
|
environment.sessionVariables.GRIM_DEFAULT_DIR = "$HOME/Pictures/Screenshots";
|
||
|
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";
|
||
|
};
|
||
|
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||
|
}
|