* add Waybar configs under `home-manager/hyprland/config/` * extend Hyprland config with wallpaper, blur, animations, and new keybindings * adjust common configs: Keychron (remove redundant xserver enable) and NVIDIA (add `videoDrivers = [ "nvidia" ]`) * update `hosts/Nixstation` with GNOME desktop, GDM, Wacom config, and disable Hyprland * add `home-manager/gnome/default.nix` with dconf, extensions, icons, and packages * switch `home-manager/home.nix` from Hyprland to GNOME and update packages and Kitty config
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.xserver = {
|
|
xkb = {
|
|
layout = "custom-br";
|
|
variant = "";
|
|
model = "pc105";
|
|
extraLayouts = {
|
|
custom-br = {
|
|
description = "US Custom BR (apostrophe + c → ç)";
|
|
languages = [ "eng" ];
|
|
symbolsFile = pkgs.writeText "custom-br" ''
|
|
partial alphanumeric_keys
|
|
xkb_symbols "basic" {
|
|
include "us(altgr-intl)"
|
|
name[Group1]= "US Custom BR (apostrophe + c → ç)";
|
|
|
|
// Override the apostrophe key to be a fake dead key
|
|
key <AC10> {
|
|
type= "FOUR_LEVEL",
|
|
symbols[Group1]= [ dead_acute, dead_acute, dead_acute, dead_acute ]
|
|
};
|
|
|
|
// Redefine the c key to output ç when used after apostrophe
|
|
key <AC03> {
|
|
type= "ALPHABETIC",
|
|
symbols[Group1]= [ c, C, ccedilla, Ccedilla ]
|
|
|
|
};
|
|
replace key <LALT> { [ Alt_L, Meta_L ] };
|
|
|
|
};
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|