From 8b1efcc7322eb6a653bba6183403f8f4c375bf94 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Sat, 18 Dec 2021 01:48:50 +0100 Subject: [PATCH] SWAY test --- programs/emacs/default.el | 1 + users/ellmau/sway.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 users/ellmau/sway.nix diff --git a/programs/emacs/default.el b/programs/emacs/default.el index bd6609d..53cd214 100644 --- a/programs/emacs/default.el +++ b/programs/emacs/default.el @@ -392,6 +392,7 @@ ;; (flycheck-add-next-checker 'lsp 'rustic-clippy) :custom (rustic-format-trigger 'on-save) + (rustic-rustfmt-bin "rustfmt") (rustic-flycheck-clippy-params "--message-format=json") (lsp-rust-analyzer-server-display-inlay-hints t) (lsp-rust-analyzer-cargo-watch-command "clippy") diff --git a/users/ellmau/sway.nix b/users/ellmau/sway.nix new file mode 100644 index 0000000..f3ea6dc --- /dev/null +++ b/users/ellmau/sway.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ...}: +{ + config = lib.mkIf config.variable.graphical { + home-manager.users.ellmau= { + wayland.windowManager.sway = { + enable = true; + wrapperFeatures.gtk = true ; + }; + home.packages = with pkgs; [ + swaylock + swayidle + wl-clipboard +# mako # notification daemon +# alacritty # Alacritty is the default terminal in the config +# dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native + ]; + }; + }; +}