dotfiles/modules/desktop/sway/default.nix

24 lines
463 B
Nix
Raw Normal View History

2022-04-05 11:09:37 +02:00
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.modules.desktop;
in {
config = mkIf (cfg.name == "sway") {
hardware.opengl = {
enable = true;
driSupport = true;
};
home-manager.users.moritz = {
wayland.windowManager.sway = {
enable = true;
terminal = "kitty";
menu = "wofi --show run";
bars = [{
fonts.size = 15.0;
positiom = "bottom";
}];
};
};
};
}