1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

SWAY test

This commit is contained in:
Stefan Ellmauthaler 2021-12-18 01:48:50 +01:00
parent 9a2ea4813c
commit 8b1efcc732
2 changed files with 20 additions and 0 deletions

View File

@ -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")

19
users/ellmau/sway.nix Normal file
View File

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