nix-config/users/tacocat/wayland/default.nix

33 lines
610 B
Nix
Raw Normal View History

2023-11-05 02:44:54 +00:00
{pkgs, ...}: {
2023-10-30 00:09:40 +00:00
imports = [
./waybar
2023-11-01 04:06:04 +00:00
./foot.nix
2023-10-30 00:09:40 +00:00
];
2023-11-14 04:51:19 +00:00
xdg.configFile."sway" = {
source = ./sway;
executable = true;
recursive = true;
};
xdg.configFile."sway/background.jpg".source = ../background.jpg;
home.packages = with pkgs; [
wl-clipboard
dunst
grim
slurp
sway-contrib.grimshot
];
2023-11-23 17:21:10 +00:00
home.sessionVariables = {
2023-11-25 00:19:48 +00:00
# SDL_VIDEODRIVER = "wayland";
2023-11-27 02:51:58 +00:00
# QT_QPA_PLATFORM = "wayland";
2023-11-23 17:21:10 +00:00
QT_WAYLAND_DISABLE_WINDOWDECORATIONS = "1";
2023-11-27 02:51:58 +00:00
# _JAVA_AWT_WM_NONREPARENTING = "1";
2023-11-23 17:21:10 +00:00
MOZ_ENABLE_WAYLAND = "1";
};
2023-11-07 02:43:16 +00:00
programs.rofi.package = pkgs.rofi-wayland;
}