Evie Litherland-Smith
506163ff37
Split system-level sway config to separate file, imported by system/desktop.nix, and add plasma.nix at the same level
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 ];
|
|
}
|