summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/modules/sway/home.nix')
-rw-r--r--home/wayland/modules/sway/home.nix25
1 files changed, 15 insertions, 10 deletions
diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix
index 241c1d4..fbc2411 100644
--- a/home/wayland/modules/sway/home.nix
+++ b/home/wayland/modules/sway/home.nix
@@ -33,21 +33,26 @@ in {
./i3status.nix
];
- home.packages = [
- pkgs.wl-clipboard
- pkgs.nnn
- pkgs.bemenu
- pkgs.swayidle
- pkgs.brightnessctl
- wayland-scripts
- ];
+ home = {
+ packages = [
+ pkgs.wl-clipboard
+ pkgs.nnn
+ pkgs.bemenu
+ pkgs.swayidle
+ pkgs.brightnessctl
+ wayland-scripts
+ ];
+
+ sessionVariables.XDG_CURRENT_DESKTOP = "sway";
+ };
wayland.windowManager.sway = {
enable = true;
- config = null;
+ package = pkgs.sway.override { enableXWayland = false; };
+
# checkConfig fails if ${background} doesn't exist
checkConfig = false;
-
+ config = null;
settings = {
bar = {
inherit font;