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 + ]; + }; + }; +}