dotfiles/home-manager/nixedo.nix
Oliver Davies 807e8f177c feat: sway configuration
- Change the mod key to Alt.
- Change the keyboard input language to UK.
- Replace dmenu with wofi.
- Disable the laptop screen when used in clam mode (lid closed with an
  external monitor).
- Override the GTK theme to ensure that a dark theme is used in all apps
  (e.g. Firefox).

See:

- https://github.com/swaywm/sway/wiki#clamshell-mode
- https://wiki.archlinux.org/title/Sway#Keymap
2023-05-25 23:37:35 +01:00

41 lines
694 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./modules/common.nix
./modules/git.nix
./modules/home-manager.nix
./modules/tmux.nix
./modules/zsh.nix
];
home.stateVersion = "22.05";
home.username = "opdavies";
home.homeDirectory = "/home/opdavies";
programs.alacritty = {
enable = true;
settings = {
window.padding = {
x = 15;
y = 15;
};
font = {
size = 12.0;
normal.family = "JetBrainsMono Nerd Font";
offset.y = 12;
glyph_offset.y = 6;
};
shell = { program = "zsh"; };
};
};
home.packages = with pkgs; [ discord meslo-lg slack teams vlc wofi xcape zoom-us ];
}