nixos/system/sway.nix
Evie Litherland-Smith b7c74a484b Switch back to plasma (again)
Add plasma-manager back, disable stylix theming for KDE in favour of
plasma-manager options.

Reorganise some config - move GTK settings up to desktop.nix since
they're relevant to anything, move xdg portal config into sway only
since plasma sets up it's own.

Move xarchiver to sway only, using ark on plasma.

Add protonmail-bridge-gui for plasma, set to autostart
2024-09-27 16:19:42 +01:00

50 lines
1 KiB
Nix

{ pkgs, username, ... }:
{
environment = {
sessionVariables.GRIM_DEFAULT_DIR = "$HOME/Pictures/Screenshots";
systemPackages = [ pkgs.xarchiver ];
};
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 = {
enable = true;
config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
}