2024-07-30 15:06:34 +01:00
|
|
|
{ lib, pkgs, ... }:
|
2024-01-30 14:21:50 +00:00
|
|
|
{
|
2024-07-30 15:06:34 +01:00
|
|
|
imports = [ ./default.nix ];
|
2024-04-11 22:38:26 +01:00
|
|
|
environment = {
|
2024-07-10 08:27:17 +01:00
|
|
|
sessionVariables.GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
|
2024-04-11 22:38:26 +01:00
|
|
|
systemPackages = with pkgs; [
|
2024-07-07 08:47:50 +01:00
|
|
|
wtype
|
|
|
|
wl-clipboard
|
|
|
|
libnotify
|
|
|
|
libcamera
|
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
pamixer
|
|
|
|
pavucontrol
|
|
|
|
playerctl
|
|
|
|
brightnessctl
|
2024-04-11 22:38:26 +01:00
|
|
|
];
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
security.pam.services.swaylock = { };
|
2024-04-11 22:38:26 +01:00
|
|
|
programs = {
|
2024-07-07 08:47:50 +01:00
|
|
|
light.enable = true;
|
2024-07-09 07:18:52 +01:00
|
|
|
nm-applet.enable = true;
|
2024-07-07 08:47:50 +01:00
|
|
|
file-roller.enable = true;
|
|
|
|
thunar = {
|
|
|
|
enable = true;
|
2024-07-08 08:58:32 +01:00
|
|
|
plugins = with pkgs.xfce; [
|
|
|
|
thunar-archive-plugin
|
|
|
|
thunar-volman
|
|
|
|
];
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
|
|
|
sway = {
|
|
|
|
enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
package = pkgs.swayfx.overrideAttrs (old: {
|
|
|
|
passthru.providedSessions = [ "sway" ];
|
|
|
|
});
|
|
|
|
extraPackages = [ ];
|
2024-07-07 08:47:50 +01:00
|
|
|
wrapperFeatures.gtk = true;
|
2024-07-09 13:07:23 +01:00
|
|
|
xwayland.enable = true;
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
2024-04-11 22:38:26 +01:00
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
services = {
|
2024-07-30 15:06:34 +01:00
|
|
|
dbus.packages = with pkgs; [ gcr ];
|
2024-07-08 06:35:24 +01:00
|
|
|
gnome.gnome-keyring.enable = true;
|
2024-07-07 08:47:50 +01:00
|
|
|
blueman.enable = true;
|
|
|
|
accounts-daemon.enable = true;
|
|
|
|
tumbler.enable = true;
|
|
|
|
udisks2.enable = true;
|
|
|
|
gvfs = {
|
|
|
|
enable = true;
|
|
|
|
package = lib.mkForce pkgs.gnome3.gvfs;
|
|
|
|
};
|
|
|
|
greetd = {
|
2024-06-17 08:46:29 +01:00
|
|
|
enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
settings =
|
|
|
|
let
|
|
|
|
command = "sway";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
initial_session = {
|
|
|
|
inherit command;
|
|
|
|
};
|
|
|
|
default_session = {
|
|
|
|
inherit command;
|
|
|
|
};
|
|
|
|
};
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
2024-07-10 08:27:17 +01:00
|
|
|
};
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
style = "gtk2";
|
|
|
|
platformTheme = "gtk2";
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes
|
2024-07-30 15:06:34 +01:00
|
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
2023-11-09 11:48:40 +00:00
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
}
|