From a9baa4d7e18e71972f4a094a3e20091cef841be0 Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Tue, 31 Oct 2023 16:51:15 +0100 Subject: [PATCH] ADD sway initial configuration --- modules/sway.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 modules/sway.nix diff --git a/modules/sway.nix b/modules/sway.nix new file mode 100644 index 0000000..4d26c85 --- /dev/null +++ b/modules/sway.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: +{ + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; # so that gtk works properly + extraPackages = with pkgs; [ + swaylock + swayidle + wl-clipboard + wf-recorder + mako # notification daemon + grim + slurp + alacritty + wofi + ]; + }; + programs.waybar.enable = true; + services.xserver.layout = "fr"; +}